Show / Hide Table of Contents

Interface IReactiveSubscriptionFactory<TArg1, TArg2, TArg3>

Interface for a parameterized subscription factory.

Namespace: Reaqtor
Assembly: Reaqtor.Local.Model.dll
Syntax
public interface IReactiveSubscriptionFactory<TArg1, TArg2, TArg3>
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.

Methods

Create(Uri, TArg1, TArg2, TArg3, Object)

Creates a new subscription with the specified subscription URI.

Declaration
IReactiveSubscription Create(Uri subscriptionUri, TArg1 arg1, TArg2 arg2, TArg3 arg3, 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.

System.Object state

Additional state to pass to the operation. Implementations can interpret this value, or ignore it.

Returns
Type Description
IReactiveSubscription

A subscription object, or an exception if the creation request was unsuccessful.

In This Article
Back to top Generated by DocFX