Beispiel #1
0
 public NodeRendererChoice(string assembly, string type)
     : base(assembly, type)
 {
     m_factory = (NodeUI.IFactory)Assembly.LoadFile(assembly).GetType(type).GetConstructor(new Type[0]).Invoke(new object[0]);
 }
Beispiel #2
0
 public NodeRendererChoice(NodeUI.IFactory factory)
     : base(factory.GetType())
 {
     m_factory = factory;
 }