Redigera

Dela via


KnownAssemblyAttribute Class

Definition

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

KnownAssemblyAttribute(String)

Initializes a new instance of KnownAssemblyAttribute.

KnownAssemblyAttribute(Type)

Initializes a new instance of KnownAssemblyAttribute.

Properties

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