Show / Hide Table of Contents

Class TypeCodeOverrideAttribute

The TypeCodeOverrideAttribute attribute allows to specify the grain interface ID or the grain class type code to override the default ones to avoid hash collisions

Inheritance
System.Object
TypeCodeOverrideAttribute
Namespace: Orleans.CodeGeneration
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class TypeCodeOverrideAttribute : Attribute

Constructors

| Improve this Doc View Source

TypeCodeOverrideAttribute(Int32)

Declaration
public TypeCodeOverrideAttribute(int typeCode)
Parameters
Type Name Description
System.Int32 typeCode

Properties

| Improve this Doc View Source

TypeCode

Use a specific grain interface ID or grain class type code (e.g. to avoid hash collisions)

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

Extension Methods

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