ConventionAttribute Class

Summary

An attribute that defines a convention for this entire assembly The type attached to the convention must implement IConvention but may also implement other interfaces Implements the System.Attribute
graph BT Type-->Base0["Attribute"] Type["ConventionAttribute"] class Type type-node

Syntax

public sealed class ConventionAttribute : Attribute

Attributes

Type Description
NullableContextAttribute
NullableAttribute
AttributeUsageAttribute

Constructors

Name Summary
ConventionAttribute(Type) The type to be used with the convention type

Properties

Name Value Summary
Type Type
The convention type

Extension Methods

See Also

  • System.Attribute