Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

KnownAssemblyAttribute Class

Definition

Namespace:
Orleans.CodeGeneration
Assembly:
Orleans.dll
Assembly:
Orleans.Core.Abstractions.dll
Package:
Microsoft.Orleans.Core v1.5.10
Package:
Microsoft.Orleans.Core.Abstractions v2.4.5
Package:
Microsoft.Orleans.Core.Abstractions v3.6.5
Source:
KnownAssemblyAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public class KnownAssemblyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type KnownAssemblyAttribute = class
 inherit Attribute
Public Class KnownAssemblyAttribute
Inherits Attribute
Inheritance
KnownAssemblyAttribute
Attributes

Constructors

Name Description
KnownAssemblyAttribute(String)

Initializes a new instance of KnownAssemblyAttribute.

KnownAssemblyAttribute(Type)

Initializes a new instance of KnownAssemblyAttribute.

Properties

Name Description
Assembly

Gets or sets the assembly to include in code generation.

TreatTypesAsSerializable

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

Applies to