internal EventBus(AtataContext context, IEnumerable <EventSubscriptionItem> eventSubscriptions) { _context = context.CheckNotNull(nameof(context)); if (eventSubscriptions != null) { foreach (var subscription in eventSubscriptions) { Subscribe(subscription.EventType, subscription.EventHandler); } } }
public AtataContextLogEventInfoFactory(AtataContext context) { _context = context.CheckNotNull(nameof(context)); }
/// <summary> /// Initializes a new instance of the <see cref="AtataNavigator"/> class. /// </summary> /// <param name="context">The context.</param> public AtataNavigator(AtataContext context) { this.context = context.CheckNotNull(nameof(context)); }