Example #1
0
 public override bool Matches(AttributeOwner other)
 {
     return(other.Flags.HasFlag(Flag));
 }
 public virtual bool Matches(AttributeOwner other)
 {
     return(true);
 }
Example #3
0
 public override bool Matches(AttributeOwner other)
 {
     return(other.Flags.HasFlag(Flag) &&
            other.TryGetAttribute(out DataFormatBehavior format) &&
            format.Type == Type);
 }