/// <summary> /// Initializes a new instance of the <see cref="EventTopic"/> class. /// </summary> /// <param name="uri">The topic URI.</param> /// <param name="factory">Factory to create publications and subscriptions.</param> /// <param name="extensionHost">The extension host holding all extensions.</param> /// <param name="globalMatchersProvider">The global matchers provider.</param> public EventTopic(string uri, IFactory factory, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider) { this.uri = uri; this.factory = factory; this.extensionHost = extensionHost; this.globalMatchersProvider = globalMatchersProvider; }
/// <summary> /// Initializes a new instance of the <see cref="EventTopicHost"/> class. /// </summary> /// <param name="factory">The factory.</param> /// <param name="extensionHost">The extension host holding all extensions.</param> /// <param name="globalMatchersProvider">The global matchers provider.</param> public EventTopicHost(IFactory factory, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider) { this.factory = factory; this.extensionHost = extensionHost; this.globalMatchersProvider = globalMatchersProvider; }
/// <summary> /// Creates a new event topic /// </summary> /// <param name="uri">The URI of the event topic.</param> /// <param name="globalMatchersProvider">The global matchers provider.</param> /// <returns>A newly created event topic</returns> public virtual IEventTopic CreateEventTopicInternal(string uri, IGlobalMatchersProvider globalMatchersProvider) { return(new EventTopic(uri, this.ExtensionHost, globalMatchersProvider)); }
/// <summary> /// Creates an event topic host. /// </summary> /// <param name="globalMatchersProvider">The global matchers provider.</param> /// <returns>A newly created event topic host.</returns> public virtual IEventTopicHost CreateEventTopicHost(IGlobalMatchersProvider globalMatchersProvider) { return(new EventTopicHost(this, this.ExtensionHost, globalMatchersProvider)); }
/// <summary> /// Initializes a new instance of the <see cref="EventTopicHost"/> class. /// </summary> /// <param name="factory">The factory.</param> /// <param name="extensionHost">The extension host holding all extensions.</param> /// <param name="globalMatchersProvider">The global matchers provider.</param> public EventTopicHost(IFactory factory, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider) { this.factory = factory; this.extensionHost = extensionHost; this.globalMatchersProvider = globalMatchersProvider; }
public EventTopic(string uri, IExtensionHost extensionHost, IGlobalMatchersProvider globalMatchersProvider) { this.Uri = uri; this.extensionHost = extensionHost; this.globalMatchersProvider = globalMatchersProvider; }