Show / Hide Table of Contents

Class MethodInvokerAttribute

Identifies a class that knows how to map the messages targeting a specifies interface ID to a grain (CLR) interface.

Inheritance
System.Object
GrainSupportClassAttribute
MethodInvokerAttribute
Inherited Members
GrainSupportClassAttribute.TargetType
Namespace: Orleans.CodeGeneration
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class MethodInvokerAttribute : GrainSupportClassAttribute

Constructors

| Improve this Doc View Source

MethodInvokerAttribute(Type, Int32)

Initializes a new instance of the MethodInvokerAttribute class.

Declaration
public MethodInvokerAttribute(Type targetType, int interfaceId)
Parameters
Type Name Description
Type targetType

The grain implementation type

System.Int32 interfaceId

The ID assigned to the interface by Orleans

Properties

| Improve this Doc View Source

InterfaceId

Gets the ID assigned to the interface by Orleans

Declaration
public int InterfaceId { get; }
Property Value
Type Description
System.Int32

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX