Show / Hide Table of Contents

Class UriToReactiveBinderBase

Base class for binders that bind URI-based artifact references to an IReactive context.

Inheritance
System.Object
UriToReactiveBinderBase
UriToReactiveBinder
UriToReactiveProxyBinder
Namespace: Reaqtor
Assembly: Reaqtor.Shared.Core.dll
Syntax
public abstract class UriToReactiveBinderBase : Object

Constructors

UriToReactiveBinderBase()

Declaration
protected UriToReactiveBinderBase()

Properties

ThisParameter

Gets the parameter representing the 'this' reference.

Declaration
protected ParameterExpression ThisParameter { get; }
Property Value
Type Description
System.Linq.Expressions.ParameterExpression

ThisType

Gets the type of the 'this' reference.

Declaration
protected abstract Type ThisType { get; }
Property Value
Type Description
System.Type

Methods

Bind(Expression)

Binds the specified expression to an IReactive context represented by the ThisParameter property.

Declaration
public Expression Bind(Expression expr)
Parameters
Type Name Description
System.Linq.Expressions.Expression expr

Expression to bind.

Returns
Type Description
System.Linq.Expressions.Expression

Rewritten expression where URI-based artifact references have been replaced by IReactive calls.

Lookup(String, Type, Type)

Looks up the artifact with the specified identifier and type, returning its bound expression representation.

Declaration
protected abstract 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.

SetThisParameter(Expression)

Sets the ThisParameter property.

Declaration
protected void SetThisParameter(Expression expr)
Parameters
Type Name Description
System.Linq.Expressions.Expression expr

Expression representing the 'this' reference.

In This Article
Back to top Generated by DocFX