Provides methods to get and set objects fields and properties per reflection. More...
Public Member Functions | |
delegate bool | TryConvertDelegate< TAttribute > (ObjectMemberInfo< TAttribute > targetMember, ref object value) |
The try convert delegate. More... | |
Static Public Member Functions | |
static Dictionary< byte, object > | GetValues< TAttribute > (object source) |
The get values. More... | |
static Dictionary< string, object > | GetValuesByName< TAttribute > (object source) |
Gets a data objects member values as a name value dictionary. More... | |
static bool | TrySetValues< TAttribute > (object target, IDictionary< byte, object > values, TryConvertDelegate< TAttribute > convertMethod, out List< ObjectMemberInfo< TAttribute >> missingParams, out List< ObjectMemberInfo< TAttribute >> invalidParams) |
The try set values. More... | |
static bool | TrySetValues< TAttribute > (object target, IDictionary< string, object > values, TryConvertDelegate< TAttribute > convertMethod, out List< ObjectMemberInfo< TAttribute >> missingParams, out List< ObjectMemberInfo< TAttribute >> invalidParams) |
The try set values. More... | |
Provides methods to get and set objects fields and properties per reflection.
|
inlinestatic |
The get values.
source | The source. |
TAttribute | Search type for fields of source . |
ArgumentException | Mandatory member of source is null. |
TAttribute | : | DataMemberAttribute |
|
inlinestatic |
Gets a data objects member values as a name value dictionary.
TAttribute | The type of the attribute. |
source | The data object source. |
TAttribute | : | DataMemberAttribute |
delegate bool Photon.SocketServer.Rpc.Reflection.ObjectDataMemberMapper.TryConvertDelegate< TAttribute > | ( | ObjectMemberInfo< TAttribute > | targetMember, |
ref object | value | ||
) |
The try convert delegate.
targetMember | The target member. |
value | The value. |
TAttribute | The attribute type |
TAttribute | : | DataMemberAttribute |
|
inlinestatic |
The try set values.
target | The target. |
values | The values. |
convertMethod | The convert method. |
missingParams | The missing params. |
invalidParams | The invalid params. |
TAttribute | the attribute type |
TAttribute | : | DataMemberAttribute |
|
inlinestatic |
The try set values.
target | The target. |
values | The values. |
convertMethod | The convert method. |
missingParams | The missing params. |
invalidParams | The invalid params. |
TAttribute | the attribute type |
TAttribute | : | DataMemberAttribute |