Declaratively sets the human-readable name of a member to process with a Gear<TResult>. In the context of Clockwork validation infrastructure, this name is used to format validation exception messages.

The following tables list the members exposed by the NameAttribute type.

Name Description
Public constructor NameAttribute Creates a new NameAttribute instance.
Top
Name Description
Public property As Gets or sets the name of a member to process with a Gear<TResult>.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (inherited from Attribute).
Top
Name Description
Public method Equals (Overloaded) Returns a value that indicates whether this instance is equal to a specified object. (inherited from Attribute).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method Static GetCustomAttribute (Overloaded) Retrieves a custom attribute applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. (inherited from Attribute).
Public method Static GetCustomAttributes (Overloaded) Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. (inherited from Attribute).
Public method GetHashCode Returns the hash code for this instance. (inherited from Attribute).
Public method GetType (Overloaded) Gets the Type of the current instance. (inherited from Object).
Public method IsDefaultAttribute When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (inherited from Attribute).
Public method Static IsDefined (Overloaded) Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. (inherited from Attribute).
Public method Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (inherited from Attribute).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static ReferenceEquals Determines whether the specified Object instances are the same instance. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Name Description
Public extension method FromNullable Converts object values to nullable relational data store values. (Defined by Object_ToNullable).
Public extension method GetAttribute Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttribute<TAtribute> (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes<TAtribute> (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method ToNullable<T> Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable).
Top