Пример #1
0
        public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            CONError castObj = (CONError)obj;

            return((castObj != null) && (this.Id == castObj.Id));
        }
Пример #2
0
        public CONError(CONError 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.Record = (data.Record != null) ? new CONRecord(data.Record, Options.Light) : null;
                }
            }
        }