Dev2.LocalizationRequiredAttribute.Equals C# (CSharp) Method

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
    public override bool Equals(object obj)
    {
      var attribute = obj as LocalizationRequiredAttribute;
      return attribute != null && attribute.Required == Required;
    }