コード例 #1
0
    /// <summary cref="IEncodeable.IsEqual(IEncodeable)" />
    public override bool IsEqual(IEncodeable encodeable)
    {
        if (Object.ReferenceEquals(this, encodeable))
        {
            return(true);
        }

        _NAME_ value = encodeable as _NAME_;

        if (value == null)
        {
            return(false);
        }

        if (typeof(_NAME_).BaseType != typeof(object))
        {
            if (!base.IsEqual(encodeable))
            {
                return(false);
            }
        }

        // _ISEQUALLIST_

        return(true);
    }
コード例 #2
0
    /// <summary cref="ICloneable.Clone" />
    public override object Clone()
    {
        _NAME_ clone = (_NAME_)base.Clone();

        // _CLONELIST_
        return(clone);
    }