C# Class Machine.Specifications.Annotations.LocalizationRequiredAttribute

Inheritance: System.Attribute
显示文件 Open project: agross/machine.specifications

Public Methods

Method Description
Equals ( object obj ) : bool

Returns whether the value of the given object is equal to the current LocalizationRequiredAttribute.

GetHashCode ( ) : int

Returns the hash code for this instance.

LocalizationRequiredAttribute ( bool required ) : System

Initializes a new instance of the LocalizationRequiredAttribute class.

Method Details

Equals() public method

Returns whether the value of the given object is equal to the current LocalizationRequiredAttribute.
public Equals ( object obj ) : bool
obj object The object to test the value equality of.
return bool

GetHashCode() public method

Returns the hash code for this instance.
public GetHashCode ( ) : int
return int

LocalizationRequiredAttribute() public method

Initializes a new instance of the LocalizationRequiredAttribute class.
public LocalizationRequiredAttribute ( bool required ) : System
required bool true if a element should be localized; otherwise, false.
return System