Class MethodInvokerAttribute
Identifies a class that knows how to map the messages targeting a specifies interface ID to a grain (CLR) interface.
Inherited Members
Namespace: Orleans.CodeGeneration
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class MethodInvokerAttribute : GrainSupportClassAttribute
Constructors
| Improve this Doc View SourceMethodInvokerAttribute(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 SourceInterfaceId
Gets the ID assigned to the interface by Orleans
Declaration
public int InterfaceId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |