/// <inheritdoc/> public bool Equals(ObjectType other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return Equals(other.Name, Name) || AlternativeNames.Contains(other.Name); }
public virtual void Visit(ObjectType typeBase) { Write(typeBase.Name); }
/// <summary> /// Visits the specified type. /// </summary> /// <param name="type">the type.</param> public override void Visit(ObjectType type) { if (type.IsSamplerStateType()) Write("SamplerState"); }
/// <inheritdoc /> public override void Visit(ObjectType typeBase) { Write(typeBase.Name); }