C# Class Qowaiv.Reflection.QowaivType

Helper class for some operations on Type.
Afficher le fichier Open project: Corniel/Qowaiv

Méthodes publiques

Méthode Description
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.

Method Details

GetSingleValueObjectAttribute() public static méthode

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

IsIJsonSerializable() public static méthode

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

IsNullable() public static méthode

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

IsNullableIJsonSerializable() public static méthode

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. ///
Résultat bool

IsSingleValueObject() public static méthode

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. ///
Résultat bool