Inheritance: ICLS_TypeFunction
Exemple #1
0
 public RegHelper_Type(Type type)
 {
     function   = new RegHelper_TypeFunction(type);
     keyword    = type.Name;
     this.type  = type;
     this._type = type;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
 public CLS_Type_String()
 {
     function = new RegHelper_TypeFunction(typeof(string));
 }
 public CLS_Type_String()
 {
     function = new RegHelper_TypeFunction(typeof(string));
 }
 public CLS_Type_Float()
 {
     function = new RegHelper_TypeFunction(typeof(float));
 }
 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;
 }
 public RegHelper_Type(Type type)
 {
     function = new RegHelper_TypeFunction(type);
     keyword = type.Name;
     this.type = type;
     this._type = type;
 }
 public CLS_Type_UInt()
 {
     function = new RegHelper_TypeFunction(typeof(uint));
 }
        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));
 }