Shaolinq.Persistence.TypeDescriptor.IsSimpleType C# (CSharp) Method

IsSimpleType() public static method

public static IsSimpleType ( Type type ) : bool
type System.Type
return bool
		public static bool IsSimpleType(Type type)
		{
			if (type.IsPrimitive)
			{
				return true;
			}

			if (type.IsValueType)
			{
				return true;
			}

			if (type == typeof(string))
			{
				return true;
			}

			return false;
		}