Exemplo n.º 1
0
 protected bool Equals(UserElementMixin other)
 {
     return(string.Equals(_name, other._name) &&
            Equals(_location, other._location) &&
            string.Equals(_documentation, other._documentation) &&
            Equals(_annotations, other._annotations));
 }
Exemplo n.º 2
0
        private readonly UserElementMixin mixin; // visible for subtype builders

        protected UserType(Program program, UserElementMixin mixin)
            : base(mixin.Name)
        {
            this._namespaces = program.Namespaces;
            this.mixin       = mixin;
        }