Class ModuleInvocationBuilder

Builds ModuleInvocation instances.

Inheritance
Object
ModuleInvocationBuilder
Implements
IBuilder<ModuleInvocation>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Solti.Utils.Rpc.Internals
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
public class ModuleInvocationBuilder : IBuilder<ModuleInvocation>

Properties

EmptyDelegate

Empty ModuleInvocation delegate.

Declaration
public static ModuleInvocation EmptyDelegate { get; }
Property Value
Type Description
ModuleInvocation

Modules

Returns the registered modules.

Declaration
public IReadOnlyCollection<Type> Modules { get; }
Property Value
Type Description
IReadOnlyCollection<Type>

Methods

AddModule(Type)

Adds a module to this builder.

Declaration
public void AddModule(Type iface)
Parameters
Type Name Description
Type iface

AddModule<TInterface>()

Adds a module to this builder.

Declaration
public void AddModule<TInterface>()
    where TInterface : class
Type Parameters
Name Description
TInterface

Build()

Builds a ModuleInvocation instance.

Declaration
public ModuleInvocation Build()
Returns
Type Description
ModuleInvocation

GetDeserializerFor(MethodInfo)

Gets the deserializer for the given method.

Declaration
protected virtual Func<IInjector, Stream, CancellationToken, Task<object[]>> GetDeserializerFor(MethodInfo ifaceMethod)
Parameters
Type Name Description
MethodInfo ifaceMethod
Returns
Type Description
Func<Solti.Utils.DI.Interfaces.IInjector, Stream, CancellationToken, Task<Object[]>>

GetMemberId(MemberInfo)

Gets the member name to be used in the execution process.

Declaration
protected virtual string GetMemberId(MemberInfo member)
Parameters
Type Name Description
MemberInfo member
Returns
Type Description
String

Implements

IBuilder<TBuiltService>
In This Article
Back to top Generated by DocFX