Class ReactiveSubscriptionFactoryBase<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>
Base class for subscription factories.
Inheritance
Implements
Namespace: Reaqtor
Assembly: Reaqtor.Local.Core.dll
Syntax
public abstract class ReactiveSubscriptionFactoryBase<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9> : Object, IReactiveSubscriptionFactory<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>
Type Parameters
Name | Description |
---|---|
TArg1 | Type of the first parameter passed to the subscription factory. |
TArg2 | Type of the second parameter passed to the subscription factory. |
TArg3 | Type of the third parameter passed to the subscription factory. |
TArg4 | Type of the fourth parameter passed to the subscription factory. |
TArg5 | Type of the fifth parameter passed to the subscription factory. |
TArg6 | Type of the sixth parameter passed to the subscription factory. |
TArg7 | Type of the seventh parameter passed to the subscription factory. |
TArg8 | Type of the eighth parameter passed to the subscription factory. |
TArg9 | Type of the ninth parameter passed to the subscription factory. |
Constructors
ReactiveSubscriptionFactoryBase()
Declaration
protected ReactiveSubscriptionFactoryBase()
Methods
Create(Uri, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, Object)
Creates a new subscription with the specified subscription URI.
Declaration
public IReactiveSubscription Create(Uri subscriptionUri, TArg1 arg1, TArg2 arg2, TArg3 arg3, TArg4 arg4, TArg5 arg5, TArg6 arg6, TArg7 arg7, TArg8 arg8, TArg9 arg9, object state = null)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | subscriptionUri | URI identifying the subscription. |
TArg1 | arg1 | First parameter to pass to the subscription factory. |
TArg2 | arg2 | Second parameter to pass to the subscription factory. |
TArg3 | arg3 | Third parameter to pass to the subscription factory. |
TArg4 | arg4 | Fourth parameter to pass to the subscription factory. |
TArg5 | arg5 | Fifth parameter to pass to the subscription factory. |
TArg6 | arg6 | Sixth parameter to pass to the subscription factory. |
TArg7 | arg7 | Seventh parameter to pass to the subscription factory. |
TArg8 | arg8 | Eighth parameter to pass to the subscription factory. |
TArg9 | arg9 | Ninth 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 |
---|---|
IReactiveSubscription | A subscription object, or an exception if the creation request was unsuccessful. |
CreateCore(Uri, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, Object)
Creates a new subscription with the specified subscription URI.
Declaration
protected abstract IReactiveSubscription CreateCore(Uri subscriptionUri, TArg1 arg1, TArg2 arg2, TArg3 arg3, TArg4 arg4, TArg5 arg5, TArg6 arg6, TArg7 arg7, TArg8 arg8, TArg9 arg9, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | subscriptionUri | URI identifying the subscription. |
TArg1 | arg1 | First parameter to pass to the subscription factory. |
TArg2 | arg2 | Second parameter to pass to the subscription factory. |
TArg3 | arg3 | Third parameter to pass to the subscription factory. |
TArg4 | arg4 | Fourth parameter to pass to the subscription factory. |
TArg5 | arg5 | Fifth parameter to pass to the subscription factory. |
TArg6 | arg6 | Sixth parameter to pass to the subscription factory. |
TArg7 | arg7 | Seventh parameter to pass to the subscription factory. |
TArg8 | arg8 | Eighth parameter to pass to the subscription factory. |
TArg9 | arg9 | Ninth 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 |
---|---|
IReactiveSubscription | A subscription object, or an exception if the creation request was unsuccessful. |