public override bool accept(AttributeSource source) { if (typeAtt == null) { typeAtt = source.addAttribute(typeof(TypeAttribute)); } //check to see if this is a Category return(typeToMatch.Equals(typeAtt.type())); }
public override bool accept(AttributeSource source) { if (typeAtt == null) { typeAtt = source.addAttribute(typeof(TypeAttribute)); } //check to see if this is a Category return (typeToMatch.Equals(typeAtt.type())); }