Show / Hide Table of Contents

Class KnownTypeAttribute

The attribute which informs the code generator that code should be generated for this type.

Inheritance
System.Object
ConsiderForCodeGenerationAttribute
KnownTypeAttribute
Inherited Members
ConsiderForCodeGenerationAttribute.Type
ConsiderForCodeGenerationAttribute.ThrowOnFailure
Namespace: Orleans.CodeGeneration
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class KnownTypeAttribute : ConsiderForCodeGenerationAttribute

Constructors

| Improve this Doc View Source

KnownTypeAttribute(Type)

Initializes a new instance of KnownTypeAttribute.

Declaration
public KnownTypeAttribute(Type type)
Parameters
Type Name Description
Type type

The type that the generator should generate code for

Extension Methods

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