Show / Hide Table of Contents

Class KnownAssemblyAttribute

The attribute which informs the code generator that code should be generated an assembly.

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

Constructors

| Improve this Doc View Source

KnownAssemblyAttribute(String)

Initializes a new instance of KnownAssemblyAttribute.

Declaration
public KnownAssemblyAttribute(string assemblyName)
Parameters
Type Name Description
System.String assemblyName

The target assembly name.

| Improve this Doc View Source

KnownAssemblyAttribute(Type)

Initializes a new instance of KnownAssemblyAttribute.

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

A type contained by the target assembly. The type itself is not relevant, and it's just a way to inrectly identify the assembly.

Properties

| Improve this Doc View Source

Assembly

Gets or sets the assembly to include in code generation.

Declaration
public Assembly Assembly { get; set; }
Property Value
Type Description
Assembly
| Improve this Doc View Source

TreatTypesAsSerializable

Gets or sets a value indicating whether or not to assume that all types in the specified assembly are serializable.

Declaration
public bool TreatTypesAsSerializable { get; set; }
Property Value
Type Description
System.Boolean
Remarks

This is equivalent to specifying KnownTypeAttribute for all types.

Extension Methods

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