NSoft.NFramework.Tools.TypeTool.IsSimpleTypeObject C# (CSharp) Method

IsSimpleTypeObject() public static method

간단한 수형인지 판단한다.
System.Type.IsPrimitive 를 이면 간단한 수형이고, stirng, Decimal, DateTime, DBNull 형식이면 SimpleType이라 규정한다.
public static IsSimpleTypeObject ( this value ) : bool
value this
return bool
        public static bool IsSimpleTypeObject(this object value) {
            value.ShouldNotBeNull("value");
            return IsSimpleType(value.GetType());
        }