Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 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");
 }
Ejemplo n.º 4
0
 /// <inheritdoc />
 public override void Visit(ObjectType typeBase)
 {
     Write(typeBase.Name);
 }