Edit

Share via


ConsiderForCodeGenerationAttribute Class

Definition

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

public class ConsiderForCodeGenerationAttribute : Attribute
type ConsiderForCodeGenerationAttribute = class
    inherit Attribute
Public Class ConsiderForCodeGenerationAttribute
Inherits Attribute
Inheritance
ConsiderForCodeGenerationAttribute
Derived

Constructors

ConsiderForCodeGenerationAttribute(Type, Boolean)

Initializes a new instance of ConsiderForCodeGenerationAttribute.

Properties

ThrowOnFailure

Gets a value indicating whether or not to throw if code was not generated for the specified type.

Type

Gets the type which should be considered for code generation.

Applies to