C# 클래스 Qowaiv.Reflection.QowaivType

Helper class for some operations on Type.
파일 보기 프로젝트 열기: Corniel/Qowaiv

공개 메소드들

메소드 설명
GetSingleValueObjectAttribute ( Type objectType ) : SingleValueObjectAttribute

Gets the SingleValueObjectAttribute of the type, if any.

IsIJsonSerializable ( Type objectType ) : bool

Returns true if the object type is an IJsonSerializable.

IsNullable ( Type objectType ) : bool

Returns true if the object is null-able, otherwise false.

IsNullableIJsonSerializable ( Type objectType ) : bool

Returns true if the object type is a null-able IJsonSerializable.

IsSingleValueObject ( Type objectType ) : bool

Returns true if the type is a Single Value Object, otherwise false.

메소드 상세

GetSingleValueObjectAttribute() 공개 정적인 메소드

Gets the SingleValueObjectAttribute of the type, if any.
public static GetSingleValueObjectAttribute ( Type objectType ) : SingleValueObjectAttribute
objectType System.Type /// The type to test for. ///
리턴 SingleValueObjectAttribute

IsIJsonSerializable() 공개 정적인 메소드

Returns true if the object type is an IJsonSerializable.
public static IsIJsonSerializable ( Type objectType ) : bool
objectType System.Type /// The type to test for. ///
리턴 bool

IsNullable() 공개 정적인 메소드

Returns true if the object is null-able, otherwise false.
public static IsNullable ( Type objectType ) : bool
objectType System.Type /// The type to test for. ///
리턴 bool

IsNullableIJsonSerializable() 공개 정적인 메소드

Returns true if the object type is a null-able IJsonSerializable.
public static IsNullableIJsonSerializable ( Type objectType ) : bool
objectType System.Type /// The type to test for. ///
리턴 bool

IsSingleValueObject() 공개 정적인 메소드

Returns true if the type is a Single Value Object, otherwise false.
public static IsSingleValueObject ( Type objectType ) : bool
objectType System.Type /// The type to test for. ///
리턴 bool