Exemplo n.º 1
0
 protected virtual void Fired(IFactoryCreate factor)
 {
     CreateFactory?.Invoke(this, new FactoryEventArgs()
     {
         Factory = factor as Factory
     });
 }
Exemplo n.º 2
0
 public void NameOfDelegate(IFactoryCreate factor)
 {
     Console.WriteLine("Spusteni udalost ze tridy factory.");
     Fired(factor);
 }