Class IRInvocation<TDelegate, TReturn>
Namespace: DotBoxD.Abstractions
Assembly: DotBoxD.Abstractions.dll
Public carrier for a generated anonymous server invocation. The generated plugin facade consumes the package factory as its concrete plugin package type, while abstractions remain independent of the plugin hosting assembly.
public sealed class IRInvocation<TDelegate, TReturn> where TDelegate : DelegateType Parameters
Section titled “Type Parameters”TDelegate
TReturn
Inheritance
Section titled “Inheritance”object ← IRInvocation<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<TDelegate, ReadOnlyMemory<byte>, TReturn> DecodeResult { get; }Property Value
Section titled “Property Value”Func<TDelegate, ReadOnlyMemory<byte>, TReturn>
EncodeArguments
Section titled “ EncodeArguments”public Func<TDelegate, byte[]> EncodeArguments { get; }Property Value
Section titled “Property Value”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<TDelegate, byte[]>, Func<TDelegate, ReadOnlyMemory<byte>, TReturn>)
Section titled “ FromGenerated(string, Func<object>, Func<TDelegate, byte[]>, Func<TDelegate, ReadOnlyMemory<byte>, TReturn>)”public static IRInvocation<TDelegate, TReturn> FromGenerated(string pluginId, Func<object> packageFactory, Func<TDelegate, byte[]> encodeArguments, Func<TDelegate, ReadOnlyMemory<byte>, TReturn> decodeResult)Parameters
Section titled “Parameters”pluginId string
encodeArguments Func<TDelegate, byte[]>
decodeResult Func<TDelegate, ReadOnlyMemory<byte>, TReturn>
Returns
Section titled “Returns”IRInvocation<TDelegate, TReturn>