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