[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = true)]
public class ExampleAttribute : Attribute<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := true)>
Public Class ExampleAttribute
Inherits Attribute[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = true)]
public ref class ExampleAttribute : public Attribute[<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = true)>]
type ExampleAttribute =
class
inherit Attribute
end| ExampleAttribute(String) | Initializes a new instance of the ExampleAttribute class using the specified example. |
| ExampleAttribute(String, Char) | Инициализирует новый экземпляр класса ExampleAttribute |
| ExampleAttribute(String, String) | Initializes a new instance of the ExampleAttribute class using the specified example and description. |
| ExampleAttribute(String, Char, String) | Инициализирует новый экземпляр класса ExampleAttribute |
| Description | Gets the description stored in this attribute. |
| DescriptionValue | Gets or sets the string stored as the description. |
| Example | Gets the example stored in this attribute. |
| NamePrefix | |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Унаследован от Attribute) |
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Унаследован от Attribute) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Returns the hash code for this instance. (Унаследован от Attribute) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Унаследован от Attribute) |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Унаследован от Attribute) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |