Exemplo n.º 1
0
            /// <summary>
            /// Initializes a new instance of the <see cref="SubtermCollection"/> class.
            /// </summary>
            /// <param name="owner">The owner of this collection.</param>
            public SubtermCollection(TypeATerm owner)
            {
                #region Contract
                Debug.Assert(owner != null);
                #endregion

                this.owner = owner;
            }
Exemplo n.º 2
0
        /// <inheritdoc />
        public bool Equals(TypeATerm other)
        {
            if (Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            return(base.Equals(other) &&
                   this.Name.Equals(other.Name));
        }