Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.19 KB

File metadata and controls

38 lines (25 loc) · 1.19 KB

DemoAttribute Class

Namespace: DemoProject
Assembly: DemoProject

An example of an custom attribute class for methods

[AttributeUsage(AttributeTargets.Method)]
public class DemoAttribute : Attribute

Inheritance: object → Attribute → DemoAttribute

Attributes: AttributeUsageAttribute

Remarks

This page demonstrates how the generated documentation for attribute classes looks like. The same layout is used for all classes, see DemoClass for a more detailed description

What can be seen on this page is that the definition section includes a type's custom attribute including the attribute's constructor parameters, in this case [AttributeUsage(AttributeTargets.Method)]

Constructors

Name Description
DemoAttribute()

Documentation generated by MdDocs