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