예제 #1
0
 public void AddType <T>()
 {
     this[typeof(T).Name] = ContextFactory.CreateType(typeof(T));
 }
예제 #2
0
 public void AddType <T>(string name)
 {
     this[name] = ContextFactory.CreateType(typeof(T));
 }
예제 #3
0
 public void AddType(Type t)
 {
     this[t.Name] = ContextFactory.CreateType(t);
 }
예제 #4
0
 public void AddType(string name, Type t)
 {
     this[name] = ContextFactory.CreateType(t);
 }
예제 #5
0
 public void AddType(string name, Type type)
 {
     this.Set <object>(name, ContextFactory.CreateType(type));
 }