Dev2.TypeExtensionMethods.IsPrimitive C# (CSharp) Méthode

IsPrimitive() public static méthode

public static IsPrimitive ( this type ) : bool
type this
Résultat bool
        public static bool IsPrimitive(this Type type)
        {
            return type == typeof (string) || type.IsValueType || type.IsPrimitive;
        }
    }
TypeExtensionMethods