Craig's Utility Library
4.0 Beta
|
Dynamic object implementation (used when inheriting) More...
Public Member Functions | |
Dynamo () | |
Constructor More... | |
Dynamo (object item) | |
Constructor More... | |
Dynamo (IDictionary< string, object > dictionary) | |
Constructor More... | |
void | Add (string key, object value) |
Adds a key/value pair to the object More... | |
void | Add (KeyValuePair< string, object > item) |
Adds a key/value pair More... | |
void | Clear () |
Clears the key/value pairs More... | |
bool | Contains (KeyValuePair< string, object > item) |
Does the object contain the key/value pair More... | |
bool | ContainsKey (string key) |
Determines if the object contains a key More... | |
void | Copy (object Item) |
Copies the properties from an item More... | |
void | CopyTo (KeyValuePair< string, object >[] array, int arrayIndex) |
Copies the key/value pairs to an array More... | |
void | CopyTo (object result) |
Copies data from here to another object More... | |
override bool | Equals (object obj) |
Determines if two objects are equal More... | |
override IEnumerable< string > | GetDynamicMemberNames () |
Gets the dynamic member names More... | |
IEnumerator< KeyValuePair< string, object > > | GetEnumerator () |
Gets the enumerator for the object More... | |
override int | GetHashCode () |
Gets the hash code More... | |
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
Gets the object data and serializes it More... | |
System.Xml.Schema.XmlSchema | GetSchema () |
Not used More... | |
virtual void | ReadXml (System.Xml.XmlReader reader) |
Reads the data from an XML doc More... | |
bool | Remove (string key) |
Removes the value associated with the key More... | |
bool | Remove (KeyValuePair< string, object > item) |
Removes a key/value pair More... | |
dynamic | SubSet (params string[] Keys) |
Returns a subset of the current Dynamo object More... | |
T | To< T > () |
Converts the object to the type specified More... | |
object | To (Type ObjectType) |
Converts the object to the type specified More... | |
override string | ToString () |
Outputs the object graph More... | |
override bool | TryConvert (ConvertBinder binder, out object result) |
Attempts to convert the object More... | |
override bool | TryGetMember (GetMemberBinder binder, out object result) |
Attempts to get a member More... | |
bool | TryGetValue (string key, out object value) |
Attempts to get a value More... | |
override bool | TryInvoke (InvokeBinder binder, object[] args, out object result) |
Attempts to invoke a function More... | |
override bool | TryInvokeMember (InvokeMemberBinder binder, object[] args, out object result) |
Attempts to invoke a member More... | |
override bool | TrySetMember (SetMemberBinder binder, object value) |
Attempts to set the member More... | |
virtual void | WriteXml (System.Xml.XmlWriter writer) |
Writes the data to an XML doc More... | |
Protected Member Functions | |
Dynamo () | |
Constructor More... | |
Dynamo (object item) | |
Constructor More... | |
Dynamo (IDictionary< string, object > dictionary) | |
Constructor More... | |
Dynamo (SerializationInfo info, StreamingContext context) | |
Constructor More... | |
override object | GetValue (string Name, Type ReturnType) |
Gets a value More... | |
override void | SetValue (string key, object value) |
Sets a value More... | |
Dynamo (SerializationInfo info, StreamingContext context) | |
Constructor More... | |
virtual object | GetValue (string Name, Type ReturnType) |
Gets a value More... | |
object | RaiseGetValueEnd (string PropertyName, object Value) |
Raises the get value end event More... | |
object | RaiseGetValueStart (string PropertyName) |
Raises the get value start event More... | |
void | RaisePropertyChanged (string PropertyName, object NewValue) |
Raises the property changed event More... | |
virtual void | SetValue (string key, object value) |
Sets a value More... | |
Properties | |
override ICollection< string > | Keys [get] |
Keys to the dynamic type More... | |
override ICollection< object > | Values [get] |
Gets the Values More... | |
ConcurrentDictionary< string, Change > | ChangeLog [get] |
Change log More... | |
int | Count [get] |
Number of items More... | |
bool | IsReadOnly [get] |
Is this read only? More... | |
virtual ICollection< string > | Keys [get] |
Keys More... | |
virtual ICollection< object > | Values [get] |
Values More... | |
object | this[string key] [get, set] |
Gets the value associated with the key specified More... | |
Action< Dynamo, string, EventArgs.OnEndEventArgs > | GetValueEnd |
Called when the value/property is found but before it is returned to the caller Sends (this, PropertyName, EventArgs) to items attached to the event More... | |
Action< Dynamo, EventArgs.OnStartEventArgs > | GetValueStart |
Called when beginning to get a value/property Sends (this, EventArgs) to items attached to the event More... | |
PropertyChangedEventHandler | PropertyChanged |
Property changed event More... | |
Dynamic object implementation (used when inheriting)
Dynamic object implementation
T | Child object type |
T | : | Dynamo<T> |
|
protected |
|
protected |
|
protected |
|
protected |
Utilities.DataTypes.Dynamo< T >.Dynamo | ( | ) |
Utilities.DataTypes.Dynamo< T >.Dynamo | ( | object | item | ) |
Utilities.DataTypes.Dynamo< T >.Dynamo | ( | IDictionary< string, object > | dictionary | ) |
|
protected |
void Utilities.DataTypes.Dynamo< T >.Add | ( | string | key, |
object | value | ||
) |
void Utilities.DataTypes.Dynamo< T >.Add | ( | KeyValuePair< string, object > | item | ) |
void Utilities.DataTypes.Dynamo< T >.Clear | ( | ) |
bool Utilities.DataTypes.Dynamo< T >.Contains | ( | KeyValuePair< string, object > | item | ) |
bool Utilities.DataTypes.Dynamo< T >.ContainsKey | ( | string | key | ) |
void Utilities.DataTypes.Dynamo< T >.Copy | ( | object | Item | ) |
void Utilities.DataTypes.Dynamo< T >.CopyTo | ( | KeyValuePair< string, object >[] | array, |
int | arrayIndex | ||
) |
void Utilities.DataTypes.Dynamo< T >.CopyTo | ( | object | result | ) |
override bool Utilities.DataTypes.Dynamo< T >.Equals | ( | object | obj | ) |
override IEnumerable<string> Utilities.DataTypes.Dynamo< T >.GetDynamicMemberNames | ( | ) |
IEnumerator<KeyValuePair<string, object> > Utilities.DataTypes.Dynamo< T >.GetEnumerator | ( | ) |
override int Utilities.DataTypes.Dynamo< T >.GetHashCode | ( | ) |
|
virtual |
System.Xml.Schema.XmlSchema Utilities.DataTypes.Dynamo< T >.GetSchema | ( | ) |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
virtual |
bool Utilities.DataTypes.Dynamo< T >.Remove | ( | string | key | ) |
bool Utilities.DataTypes.Dynamo< T >.Remove | ( | KeyValuePair< string, object > | item | ) |
|
protected |
|
protectedvirtual |
dynamic Utilities.DataTypes.Dynamo< T >.SubSet | ( | params string[] | Keys | ) |
object Utilities.DataTypes.Dynamo< T >.To | ( | Type | ObjectType | ) |
T Utilities.DataTypes.Dynamo< T >.To< T > | ( | ) |
override string Utilities.DataTypes.Dynamo< T >.ToString | ( | ) |
override bool Utilities.DataTypes.Dynamo< T >.TryConvert | ( | ConvertBinder | binder, |
out object | result | ||
) |
override bool Utilities.DataTypes.Dynamo< T >.TryGetMember | ( | GetMemberBinder | binder, |
out object | result | ||
) |
bool Utilities.DataTypes.Dynamo< T >.TryGetValue | ( | string | key, |
out object | value | ||
) |
override bool Utilities.DataTypes.Dynamo< T >.TryInvoke | ( | InvokeBinder | binder, |
object[] | args, | ||
out object | result | ||
) |
override bool Utilities.DataTypes.Dynamo< T >.TryInvokeMember | ( | InvokeMemberBinder | binder, |
object[] | args, | ||
out object | result | ||
) |
override bool Utilities.DataTypes.Dynamo< T >.TrySetMember | ( | SetMemberBinder | binder, |
object | value | ||
) |
|
virtual |
|
get |
|
get |
|
addremove |
|
addremove |
|
get |
|
get |
|
get |
|
addremove |
|
getset |
|
get |
|
get |