Microsoft.JScript.ParameterDeclaration.IsDefined C# (CSharp) Method

IsDefined() public method

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
return bool
      public override bool IsDefined(Type attributeType, bool inherit){
        if (this.customAttributes != null)
          return this.customAttributes.GetAttribute(attributeType) != null;
        else
          return false;
      }