Esempio n. 1
0
 internal static bool IsString(this Type type)
 {
     return(Type.GetTypeCode(type) == TypeCode.String);
 }
Esempio n. 2
0
 internal static bool IsDateTime(this Type type)
 {
     return(Type.GetTypeCode(type) == TypeCode.DateTime);
 }
Esempio n. 3
0
 internal static bool IsCharacter(this Type type)
 {
     return(Type.GetTypeCode(type) == TypeCode.Char);
 }
Esempio n. 4
0
 internal static bool IsDecimal(this Type type)
 {
     return(Type.GetTypeCode(type) == TypeCode.Decimal);
 }
Esempio n. 5
0
 internal static bool IsBoolean(this Type type)
 {
     return(Type.GetTypeCode(type) == TypeCode.Boolean);
 }