public override Boolean Equals(object obj) { if ((obj == null) || (obj.GetType() != this.GetType())) { return(false); } EXTFileOperaDetail castObj = (EXTFileOperaDetail)obj; return((castObj != null) && (this.Id == castObj.Id)); }
public EXTFileOperaDetail(EXTFileOperaDetail 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.FileOpera = (data.FileOpera != null) ? new EXTFileOpera(data.FileOpera, Options.Light) : null; } } }