public RegHelper_Type(Type type) { function = new RegHelper_TypeFunction(type); 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; } else { keyword = type.Name; } this.type = type; this._type = type; }
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; }
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_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 CLS_Type_UInt() { function = new RegHelper_TypeFunction(typeof(uint)); }
public CLS_Type_Int() { function = new RegHelper_TypeFunction(typeof(int)); }
public CLS_Type_Double() { function = new RegHelper_TypeFunction(typeof(double)); }