Inheritance: ICLS_TypeFunction
示例#1
0
 public RegHelper_Type(Type type)
 {
     function   = new RegHelper_TypeFunction(type);
     keyword    = type.Name;
     this.type  = type;
     this._type = type;
 }
示例#2
0
 public RegHelper_Type(Type type, string setkeyword = null)
 {
     function = new RegHelper_TypeFunction(type);
     if (setkeyword != null)
     {
         keyword = setkeyword;
     }
     else
     {
         keyword = type.Name;
     }
     this.type  = type;
     this._type = type;
 }
示例#3
0
 protected RegHelper_Type(Type type, string setkeyword, bool dele)
 {
     function = new RegHelper_TypeFunction(type);
     if (setkeyword != null)
     {
         keyword = setkeyword.Replace(" ", "");
     }
     else
     {
         keyword = type.Name;
     }
     this.type  = type;
     this._type = type;
 }
 public RegHelper_Type(Type type, string setkeyword = null)
 {
     function = new RegHelper_TypeFunction(type);
     if (setkeyword != null)
     {
         keyword = setkeyword.Replace(" ", "");
     }
     else
     {
         keyword = type.Name;
     }
     this.type = type;
     this._type = type;
 }
示例#5
0
 public RegHelper_Type(Type type, string setkeyword = null)
 {
     if (type.IsSubclassOf(typeof(Delegate)))
     {
         throw new Exception("你想注册的Type是一个Delegate,需要用特别的注册方法");
     }
     function = new RegHelper_TypeFunction(type);
     if (setkeyword != null)
     {
         keyword = setkeyword.Replace(" ", "");
     }
     else
     {
         keyword = type.Name;
     }
     this.type  = type;
     this._type = type;
 }
示例#6
0
 public CLS_Type_String()
 {
     function = new RegHelper_TypeFunction(typeof(string));
 }
示例#7
0
 public CLS_Type_String()
 {
     function = new RegHelper_TypeFunction(typeof(string));
 }
 public CLS_Type_Float()
 {
     function = new RegHelper_TypeFunction(typeof(float));
 }
示例#9
0
 public RegHelper_Type(Type type, string setkeyword = null)
 {
     if(type.IsSubclassOf(typeof(Delegate)))
     {
         throw new Exception("你想注册的Type是一个Delegate,需要用特别的注册方法");
     }
     function = new RegHelper_TypeFunction(type);
     if (setkeyword != null)
     {
         keyword = setkeyword.Replace(" ", "");
     }
     else
     {
         keyword = type.Name;
     }
     this.type = type;
     this._type = type;
 }
示例#10
0
 public RegHelper_Type(Type type)
 {
     function = new RegHelper_TypeFunction(type);
     keyword = type.Name;
     this.type = type;
     this._type = type;
 }
示例#11
0
 public CLS_Type_UInt()
 {
     function = new RegHelper_TypeFunction(typeof(uint));
 }
示例#12
0
        public CLS_Type_Int()
        {

            function = new RegHelper_TypeFunction(typeof(int));
        }
 public CLS_Type_Float()
 {
     function = new RegHelper_TypeFunction(typeof(float));
 }
 public CLS_Type_Double()
 {
     function = new RegHelper_TypeFunction(typeof(double));
 }
 public CLS_Type_Double()
 {
             
     function = new RegHelper_TypeFunction(typeof(double));
 }