Type相关的静态缓存值

2015-04-23 11:50:03  访问(1373) 赞(0) 踩(0)


        #region Type相关的静态缓存值 

        /// <summary>
        /// typeof(long)
        /// </summary>
        public readonly static Type typeObject = typeof(object);

 

        /// <summary>
        /// typeof(long)
        /// </summary>
        public readonly static Type typeLong = typeof(long);


 

        /// <summary>
        /// typeof(long?)
        /// </summary>
        public readonly static Type typeLongNull = typeof(long?);

 


        /// <summary>
        /// typeof(float)
        /// </summary>
        public readonly static Type typeFloat = typeof(float);

 

        /// <summary>
        /// typeof(float?)
        /// </summary>
        public readonly static Type typeFloatNull = typeof(float?);

 


        /// <summary>
        /// typeof(double)
        /// </summary>
        public readonly static Type typeDouble = typeof(double);
 

        /// <summary>
        /// typeof(double?)
        /// </summary>
        public readonly static Type typeDoubleNull = typeof(double?);
  

        /// <summary>
        /// typeof(DateTime)
        /// </summary>
        public readonly static Type typeDateTime = typeof(DateTime);

 

        /// <summary>
        /// typeof(DateTime?)
        /// </summary>
        public readonly static Type typeDateTimeNull = typeof(DateTime?);

  

        /// <summary>
        /// typeof(int)
        /// </summary>
        public readonly static Type typeInt = typeof(int);
 

        /// <summary>
        /// typeof(UInt64)
        /// </summary>
        public readonly static Type typeUInt64 = typeof(System.UInt64);

 
        /// <summary>
        /// typeof(int?)
        /// </summary>
        public readonly static Type typeIntNull = typeof(int?);


        /// <summary>
        /// typeof(Int32)
        /// </summary>
        public readonly static Type typeInt32 = typeof(Int32);

        /// <summary>
        /// typeof(string)
        /// </summary>
        public readonly static Type typeString = typeof(string);

 


        /// <summary>
        /// typeof(bool)
        /// </summary>
        public readonly static Type typeBoolean = typeof(bool);


       


        /// <summary>
        /// typeof(long?)
        /// </summary>
        public readonly static Type typeBooleanNull = typeof(bool?);

 
        /// <summary>
        /// typeof(Unit)
        /// </summary>
        public readonly static Type typeUnit = typeof(Unit);
 


        /// <summary>
        /// typeof(Unit?)
        /// </summary>
        public readonly static Type typeUnitNull = typeof(Unit?);
 



        /// <summary>
        /// typeof(System.Enum)
        /// </summary>
        public readonly static Type typeSystemEnum = typeof(System.Enum);


        #endregion Type相关的静态缓存值


标签:Type相关的静态缓存值 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)