![]() |
CSLA .NET 10.0.0
A home for your business logic
|
This is the base class from which readonly name/value collections should be derived. More...
Classes | |
| class | NameValuePair |
| Contains a key and value pair. More... | |
Public Member Functions | |
| V? | Value (K key) |
| Returns the value corresponding to the specified key. | |
| K? | Key (V value) |
| Returns the key corresponding to the first occurance of the specified value in the list. | |
| bool | ContainsKey (K key) |
| Gets a value indicating whether the list contains the specified key. | |
| bool | ContainsValue (V value) |
| Gets a value indicating whether the list contains the specified value. | |
| NameValuePair? | GetItemByValue (V value) |
| Get the item for the first matching value in the collection. | |
| NameValuePair? | GetItemByKey (K key) |
| Get the item for the first matching key in the collection. | |
| NameValuePair () | |
| Creates an instance of the type (for use by MobileFormatter only). | |
| NameValuePair (K key, V value) | |
| Creates an instance of the type. | |
| override string | ToString () |
| Returns a string representation of the value for this item. | |
| NameValueListBase< K, V > | Clone () |
| Creates a clone of the object. | |
| async Task | WaitForIdle () |
| Await this method to ensure business object is not busy. | |
Protected Member Functions | |
| NameValueListBase () | |
| Creates an instance of the type. | |
| virtual void | Initialize () |
| Override this method to set up event handlers so user code in a partial class can respond to events raised by generated code. | |
| override void | OnGetState (SerializationInfo info, StateMode mode) |
| Override this method to manually get custom field values from the serialization stream. | |
| override void | OnSetState (SerializationInfo info, StateMode mode) |
| Override this method to manually set custom field values into the serialization stream. | |
| override void | OnGetMetastate (BinaryWriter writer) |
| override void | OnSetMetastate (BinaryReader reader) |
| virtual object | GetClone () |
| Creates a clone of the object. | |
| virtual void | DataPortal_OnDataPortalInvoke (DataPortalEventArgs e) |
| Called by the server-side DataPortal prior to calling the requested DataPortal_XYZ method. | |
| virtual void | DataPortal_OnDataPortalInvokeComplete (DataPortalEventArgs e) |
| Called by the server-side DataPortal after calling the requested DataPortal_XYZ method. | |
| virtual void | DataPortal_OnDataPortalException (DataPortalEventArgs e, Exception ex) |
| Called by the server-side DataPortal if an exception occurs during data access. | |
Properties | |
| ApplicationContext | ApplicationContext [get] |
| Gets the current ApplicationContext. | |
| K | Key [get] |
| The Key or Name value. | |
| V | Value [get] |
| The Value corresponding to the key/name. | |
This is the base class from which readonly name/value collections should be derived.
| K | Type of the key values. |
| V | Type of the values. |
| K | : | notnull | |
| V | : | notnull |
|
inline |
Creates a clone of the object.
|
inline |
Gets a value indicating whether the list contains the specified key.
| key | Key value for which to search. |
| ArgumentNullException | key is null. |
|
inline |
Gets a value indicating whether the list contains the specified value.
| value | Value for which to search. |
| ArgumentNullException | value is null. |
|
inlineprotectedvirtual |
Called by the server-side DataPortal if an exception occurs during data access.
| e | The DataPortalContext object passed to the DataPortal. |
| ex | The Exception thrown during data access. |
|
inlineprotectedvirtual |
Called by the server-side DataPortal prior to calling the requested DataPortal_XYZ method.
| e | The DataPortalContext object passed to the DataPortal. |
|
inlineprotectedvirtual |
Called by the server-side DataPortal after calling the requested DataPortal_XYZ method.
| e | The DataPortalContext object passed to the DataPortal. |
|
inlineprotectedvirtual |
Creates a clone of the object.
|
inline |
Get the item for the first matching key in the collection.
| key | Key to search for in the list. |
| ArgumentNullException | key is null. |
|
inline |
Get the item for the first matching value in the collection.
| value | Value to search for in the list. |
| ArgumentNullException | value is null. |
|
inlineprotectedvirtual |
Override this method to set up event handlers so user code in a partial class can respond to events raised by generated code.
|
inline |
Returns the key corresponding to the first occurance of the specified value in the list.
| value | Value for which to retrieve the key. |
| ArgumentNullException | value is null. |
|
inlineprotected |
Creates an instance of the type.
|
inline |
Creates an instance of the type (for use by MobileFormatter only).
|
inline |
Creates an instance of the type.
| key | The key. |
| value | The value. |
| ArgumentNullException | key is null. |
|
inlineprotected |
|
inlineprotected |
Override this method to manually get custom field values from the serialization stream.
| info | Serialization info. |
| mode | Serialization mode. |
|
inlineprotected |
|
inlineprotected |
Override this method to manually set custom field values into the serialization stream.
| info | Serialization info. |
| mode | Serialization mode. |
|
inline |
Returns a string representation of the value for this item.
|
inline |
Returns the value corresponding to the specified key.
| key | Key value for which to retrieve a value. |
| ArgumentNullException | key is null. |
|
inline |
Await this method to ensure business object is not busy.
|
getprotected |
Gets the current ApplicationContext.
Implements Csla.Core.IUseApplicationContext.
|
get |
The Key or Name value.
|
get |
The Value corresponding to the key/name.