C# 클래스 JsonFx.Json.TypeCoercionUtility

Utility for forcing conversion between types
파일 보기 프로젝트 열기: hiddenswitch/Meteor-Unity 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CoerceArray System.Array
CoerceList object
CoerceType object
CoerceType object
CoerceType object
CreateMemberMap MemberInfo>.Dictionary
GetEnumerator IEnumerator
GetMemberInfo System.Type
InstantiateObject Object
IsNullable bool
ProcessTypeHint object
SetMemberValue void

비공개 메소드들

메소드 설명
CoerceArray ( Type elementType, IEnumerable value ) : Array
CoerceList ( Type targetType, Type arrayType, IEnumerable value ) : object
CoerceType ( Type targetType, IDictionary value, MemberInfo>.Dictionary &memberMap ) : object
CoerceType ( Type targetType, IDictionary newValues, object existingObject, MemberInfo>.Dictionary &memberMap ) : object
CoerceType ( Type targetType, object value ) : object
CreateMemberMap ( Type objectType ) : MemberInfo>.Dictionary
GetEnumerator ( object enumerable ) : IEnumerator

Gets the IEnumerator interface of the object.

GetMemberInfo ( MemberInfo>.Dictionary memberMap, string memberName, MemberInfo &memberInfo ) : Type
InstantiateObject ( Type objectType, MemberInfo>.Dictionary &memberMap ) : Object
IsNullable ( Type type ) : bool
ProcessTypeHint ( IDictionary result, string typeInfo, Type &objectType, MemberInfo>.Dictionary &memberMap ) : object

If a Type Hint is present then this method attempts to use it and move any previously parsed data over.

SetMemberValue ( Object result, Type memberType, MemberInfo memberInfo, object value ) : void

Helper method to set value of either property or field