/// <summary> /// Initializes a new instance of the <see cref="DefaultBindableOnToTogglable{TEvent,TEntity}"/> class. /// </summary> /// <param name="staticEventBinder"> /// The static event binder. /// </param> /// <param name="filter"> /// The filter. /// </param> public DefaultBindableOnToTogglable( StaticEventBinder <TContext> staticEventBinder, Func <TEvent, bool> filter) { this.m_StaticEventBinder = staticEventBinder; this.m_Filter = filter; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBindableOnTogglable{TEvent,TEntity}"/> class. /// </summary> /// <param name="staticEventBinder"> /// The static event binder. /// </param> /// <param name="filter"> /// The filter. /// </param> public DefaultBindableOnTogglable(StaticEventBinder <TContext> staticEventBinder, Func <TEvent, bool> filter) : base(staticEventBinder, filter, t => true) { }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBindableOnTo{TEvent,TEntity,TEntityAction}"/> class. /// </summary> /// <param name="staticEventBinder"> /// The static event binder. /// </param> /// <param name="kernel"> /// The dependency injection kernel. /// </param> /// <param name="filter"> /// The filter. /// </param> public DefaultBindableOnTo(StaticEventBinder <TContext> staticEventBinder, Func <TEvent, bool> filter, Func <TEntity, bool> entityFilter) { this.m_StaticEventBinder = staticEventBinder; this.m_Filter = filter; this.m_EntityFilter = entityFilter; }
public DefaultBindableTo(IKernel kernel, StaticEventBinder <TContext> staticEventBinder, Func <TEvent, bool> filter) { _kernel = kernel; this.m_StaticEventBinder = staticEventBinder; this.m_Filter = filter; }