Exemplo n.º 1
0
        public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            CONStructure castObj = (CONStructure)obj;

            return((castObj != null) && (this.Id == castObj.Id));
        }
Exemplo n.º 2
0
        public CONStructure(CONStructure data, Options option) : base(data, option)
        {
            if (option == Options.Light || option == Options.Me || option == Options.All)
            {
                //OptionName.Light

                if (option == Options.Me || option == Options.All)
                {
                    this.Integrator = (data.Integrator != null) ? new CONIntegrator(data.Integrator, Options.Light) : null;
                }
            }
        }