Ejemplo n.º 1
0
 /// <summary>Assigns event listener of specified event type.
 /// To stop listening events use <see cref="muteEvent(Delegate, EPEvents)"/> method.
 /// Those methods allow you to listen for <see cref="EP{T}"/> using <see cref="EP"/> base class, were T is "unknown".
 /// If you work on specfic type of <see cref="EP{T}"/>, use standard events aproach.</summary>
 /// <param name="l">Delegate to be invoked when event occurs.
 /// This delegeate must by of <see cref="eventType"/> type. Use <see cref="createEventHandler(object, string)"/> to create delegate from any applicable method.
 /// Basically this is na <see cref="EPEventHandler{T}"/> where T is the type of extended property.</param>
 /// <param name="type">Type of event on wich to invoke given delegate.</param>
 public abstract void listenEvent(Delegate epEventHandler, EPEvents type);
Ejemplo n.º 2
0
 /// <summary>Remove event listener of specified event type.
 /// To start listening events use <see cref="listenEvent(Delegate, EPEvents)"/> method.
 /// Those methods allow you to listen for <see cref="EP{T}"/> using <see cref="EP"/> base class, were T is "unknown".
 /// If you work on specfic type of <see cref="EP{T}"/>, use standard events aproach.</summary>
 /// <param name="l">Delegate to be invoked when event occurs.
 /// This delegeate must by of <see cref="eventType"/> type.
 /// Basically this is na <see cref="EPEventHandler{T}"/> where T is the type of extended property.</param>
 /// <param name="type">Type of event on wich to invoke given delegate.</param>
 public abstract void muteEvent(Delegate ePEventHandler, EPEvents type);