Interface IReactiveQubscriptionFactory<TArgs>
Interface for a parameterized subscription factory.
Namespace: Reaqtor
Assembly: Reaqtor.Expressions.Model.dll
Syntax
public interface IReactiveQubscriptionFactory<TArgs> : IReactiveSubscriptionFactory<TArgs>, IReactiveExpressible, IExpressible
Type Parameters
Name | Description |
---|---|
TArgs | Type of the parameter passed to the subscription factory. |
Methods
Create(Uri, TArgs, Object)
Creates a new subscription with the specified subscription URI.
Declaration
IReactiveQubscription Create(Uri subscriptionUri, TArgs argument, object state = null)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | subscriptionUri | URI identifying the subscription. |
TArgs | argument | Parameter to pass to the subscription factory. |
System.Object | state | Additional metadata to associate with the artifact. Implementations can interpret this value, or ignore it. |
Returns
Type | Description |
---|---|
IReactiveQubscription | A subscription object, or an exception if the creation request was unsuccessful. |