Beispiel #1
0
 public void SetHandler(IConvertItem handler, string parent)
 {
     if (!handlers.ContainsKey(parent))
     {
         return;
     }
     handlers[handler.name] = handler;
     handler.Setup(this, handlers[parent]);
 }
Beispiel #2
0
 public void SetHandler(IConvertItem handler, IConvertItem parent = null)
 {
     handlers[handler.name] = handler; handler.Setup(this, parent);
 }