The property bag. More...
Public Member Functions | |
PropertyBag () | |
Initializes a new instance of the PropertyBag<TKey> class. More... | |
PropertyBag (IEnumerable< KeyValuePair< TKey, object >> values) | |
Initializes a new instance of the PropertyBag<TKey> class. More... | |
PropertyBag (IDictionary values) | |
Initializes a new instance of the PropertyBag<TKey> class. More... | |
IDictionary< TKey, Property< TKey > > | AsDictionary () |
IList< Property< TKey > > | GetAll () |
The get all. More... | |
Hashtable | GetProperties () |
Get all properties. More... | |
Hashtable | GetProperties (IList< TKey > propertyKeys) |
The get properties. More... | |
Hashtable | GetProperties (IEnumerable< TKey > propertyKeys) |
The get properties. More... | |
Hashtable | GetProperties (IEnumerable propertyKeys) |
The get properties. More... | |
Property< TKey > | GetProperty (TKey key) |
The get property. More... | |
void | Set (TKey key, object value) |
The set. More... | |
void | SetProperties (IDictionary values) |
The set properties. More... | |
bool | SetPropertiesCAS (IDictionary values, IDictionary expectedValues, out string debugMessage) |
The set properties. More... | |
void | SetProperties (IDictionary< TKey, object > values) |
The set properties. More... | |
bool | SetPropertiesCAS (IDictionary< TKey, object > values, IDictionary< TKey, object > expectedValues, out string debugMessage) |
The set properties. More... | |
bool | TryGetValue (TKey key, out object value) |
Properties | |
int | Count [get] |
Gets the number of properties in this instance. More... | |
Events | |
EventHandler< PropertyChangedEventArgs< TKey > > | PropertyChanged |
The property changed event. More... | |
The property bag.
TKey | The property key type |
|
inline |
Initializes a new instance of the PropertyBag<TKey> class.
|
inline |
Initializes a new instance of the PropertyBag<TKey> class.
values | The values. |
|
inline |
Initializes a new instance of the PropertyBag<TKey> class.
values | The values. |
|
inline |
|
inline |
The get all.
|
inline |
Get all properties.
|
inline |
The get properties.
propertyKeys | The property keys. |
|
inline |
The get properties.
propertyKeys | The property keys. |
|
inline |
The get properties.
propertyKeys | The property keys. |
|
inline |
The get property.
key | The key. |
|
inline |
The set.
key | The key. |
value | The value. |
|
inline |
The set properties.
values | The values. |
|
inline |
The set properties.
values | The values. |
|
inline |
The set properties.
values | The values. |
expectedValues | The expected values for properties in order to apply CAS. |
debugMessage |
|
inline |
The set properties.
values | The values. |
expectedValues | expected values for properties, which we are going to change |
debugMessage |
|
inline |
|
get |
Gets the number of properties in this instance.
EventHandler<PropertyChangedEventArgs<TKey> > Photon.Hive.Plugin.PropertyBag< TKey >.PropertyChanged |
The property changed event.