Class IRInvocation<TCaptures, TDelegate, TReturn>
Namespace: DotBoxD.Abstractions
Assembly: DotBoxD.Abstractions.dll
Public carrier for a generated anonymous server invocation whose delegate is paired with an explicit capture bag.
public sealed class IRInvocation<TCaptures, TDelegate, TReturn> where TCaptures : class where TDelegate : DelegateType Parameters
Section titled “Type Parameters”TCaptures
TDelegate
TReturn
Inheritance
Section titled “Inheritance”object ← IRInvocation<TCaptures, TDelegate, TReturn>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”DecodeResult
Section titled “ DecodeResult”public Func<TCaptures, TDelegate, ReadOnlyMemory<byte>, TReturn> DecodeResult { get; }Property Value
Section titled “Property Value”Func<TCaptures, TDelegate, ReadOnlyMemory<byte>, TReturn>
EncodeArguments
Section titled “ EncodeArguments”public Func<TCaptures, TDelegate, byte[]> EncodeArguments { get; }Property Value
Section titled “Property Value”Func<TCaptures, TDelegate, byte[]>
PackageFactory
Section titled “ PackageFactory”public Func<object> PackageFactory { get; }Property Value
Section titled “Property Value”PluginId
Section titled “ PluginId”public string PluginId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”FromGenerated(string, Func<object>, Func<TCaptures, TDelegate, byte[]>, Func<TCaptures, TDelegate, ReadOnlyMemory<byte>, TReturn>)
Section titled “ FromGenerated(string, Func<object>, Func<TCaptures, TDelegate, byte[]>, Func<TCaptures, TDelegate, ReadOnlyMemory<byte>, TReturn>)”public static IRInvocation<TCaptures, TDelegate, TReturn> FromGenerated(string pluginId, Func<object> packageFactory, Func<TCaptures, TDelegate, byte[]> encodeArguments, Func<TCaptures, TDelegate, ReadOnlyMemory<byte>, TReturn> decodeResult)Parameters
Section titled “Parameters”pluginId string
encodeArguments Func<TCaptures, TDelegate, byte[]>
decodeResult Func<TCaptures, TDelegate, ReadOnlyMemory<byte>, TReturn>
Returns
Section titled “Returns”IRInvocation<TCaptures, TDelegate, TReturn>