CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.NameValueListBase< K, V >.NameValuePair Class Reference

Contains a key and value pair. More...

Inheritance diagram for Csla.NameValueListBase< K, V >.NameValuePair:
Csla.Core.MobileObject Csla.Serialization.Mobile.IMobileObject

Public Member Functions

 NameValuePair (K key, V value)
 Creates an instance of the object. More...
 
override string ToString ()
 Returns a string representation of the value for this item. More...
 

Protected Member Functions

override void OnGetState (SerializationInfo info, StateMode mode)
 Override this method to manually get custom field values from the serialization stream. More...
 
override void OnSetState (SerializationInfo info, StateMode mode)
 Override this method to manually set custom field values into the serialization stream. More...
 
- Protected Member Functions inherited from Csla.Core.MobileObject
virtual void OnGetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to insert your child object references into the MobileFormatter serialzation stream. More...
 
virtual void OnSetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to retrieve your child object references from the MobileFormatter serialzation stream. More...
 

Properties

Key [get]
 The Key or Name value. More...
 
Value [get]
 The Value corresponding to the key/name. More...
 

Detailed Description

Contains a key and value pair.

Definition at line 157 of file NameValueListBase.cs.

Constructor & Destructor Documentation

◆ NameValuePair()

Csla.NameValueListBase< K, V >.NameValuePair.NameValuePair ( key,
value 
)

Creates an instance of the object.

Parameters
keyThe key.
valueThe value.

Definition at line 193 of file NameValueListBase.cs.

Member Function Documentation

◆ OnGetState()

override void Csla.NameValueListBase< K, V >.NameValuePair.OnGetState ( SerializationInfo  info,
StateMode  mode 
)
protectedvirtual

Override this method to manually get custom field values from the serialization stream.

Parameters
infoSerialization info.
modeSerialization mode.

Reimplemented from Csla.Core.MobileObject.

Definition at line 214 of file NameValueListBase.cs.

◆ OnSetState()

override void Csla.NameValueListBase< K, V >.NameValuePair.OnSetState ( SerializationInfo  info,
StateMode  mode 
)
protectedvirtual

Override this method to manually set custom field values into the serialization stream.

Parameters
infoSerialization info.
modeSerialization mode.

Reimplemented from Csla.Core.MobileObject.

Definition at line 227 of file NameValueListBase.cs.

◆ ToString()

override string Csla.NameValueListBase< K, V >.NameValuePair.ToString ( )

Returns a string representation of the value for this item.

Definition at line 203 of file NameValueListBase.cs.

Property Documentation

◆ Key

K Csla.NameValueListBase< K, V >.NameValuePair.Key
get

The Key or Name value.

Definition at line 175 of file NameValueListBase.cs.

◆ Value

V Csla.NameValueListBase< K, V >.NameValuePair.Value
get

The Value corresponding to the key/name.

Definition at line 183 of file NameValueListBase.cs.