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