Class UriToReactiveBinder
Binder to bind URI-based artifacts to an IReactive context.
Inherited Members
Namespace: Reaqtor.Service.Core
Assembly: Reaqtor.Service.Core.dll
Syntax
public class UriToReactiveBinder : UriToReactiveBinderBase
Constructors
UriToReactiveBinder()
Declaration
public UriToReactiveBinder()
Properties
ThisType
Gets the type of this 'this' reference, i.e. IReactive.
Declaration
protected override Type ThisType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Overrides
Methods
BindObservable(Expression, Uri, Object)
Binds an observable definition expression to the IReactive context.
Declaration
public Expression BindObservable(Expression expr, Uri observableUri, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expr | Expression representing the observable definition expression. |
System.Uri | observableUri | URI passed to the Define call. |
System.Object | state | State passed to the Define call |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | Rewritten expression with the observable definition call bound to the IReactive context. |
BindObserver(Expression, Uri, Object)
Binds an observer definition expression to the IReactive context.
Declaration
public Expression BindObserver(Expression expr, Uri observerUri, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expr | Expression representing the observer definition expression. |
System.Uri | observerUri | URI passed to the Define call. |
System.Object | state | State passed to the Define call |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | Rewritten expression with the observer definition call bound to the IReactive context. |
BindSubject(Expression, Uri, Object)
Binds a stream creation expression to the IReactive context.
Declaration
public Expression BindSubject(Expression expr, Uri streamUri, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expr | Expression representing the subscription creation expression. |
System.Uri | streamUri | URI passed to the Create call. |
System.Object | state | State passed to the Create call |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | Rewritten expression with the subscription creation call bound to the IReactive context. |
BindSubscription(Expression, Uri, Object)
Binds a subscription creation expression to the IReactive context.
Declaration
public Expression BindSubscription(Expression expr, Uri subscriptionUri, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expr | Expression representing the subscription creation expression. |
System.Uri | subscriptionUri | URI passed to the Subscribe call. |
System.Object | state | State passed to the Subscribe call |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | Rewritten expression with the subscription creation call bound to the IReactive context. |
Lookup(String, Type, Type)
Looks up the artifact with the specified identifier and type, returning its bound expression representation.
Declaration
protected override Expression Lookup(string id, Type type, Type funcType)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Identifier representing the artifact. |
System.Type | type | Type of the artifact. |
System.Type | funcType | Function type for parameterized artifacts. |
Returns
Type | Description |
---|---|
System.Linq.Expressions.Expression | Bound expression representation of the artifact. |