Ejemplo n.º 1
0
 protected abstract void EventOccured(StateEventSubscription s, StateEventArgs args);
Ejemplo n.º 2
0
 protected override void EventOccured(StateEventSubscription s, StateEventArgs args)
 {
     File.AppendAllText(_filePath, String.Format("{0} - {1}",
         s.Subscriber.GetEventOccured().ToShortTimeString(), args.Message) + Environment.NewLine);
 }
 protected override void EventOccured(StateEventSubscription s, StateEventArgs args)
 {
     Console.WriteLine(String.Format("{0} - {1}", s.Subscriber.GetEventOccured().ToShortTimeString(), args.Message));
 }
 protected abstract void EventOccured(StateEventSubscription s, StateEventArgs args);