public BarRequest Add(BarType barType, long barSize, bool isBarFacroryRequest) { BarRequest barRequest = new BarRequest(barType, barSize, isBarFacroryRequest); this.Add(barRequest); return(barRequest); }
public void Remove(BarRequest barRequest) { this.list.Remove(barRequest); }
public BarRequest Add(BarType barType, long barSize, bool isBarFacroryRequest) { BarRequest barRequest = new BarRequest(barType, barSize, isBarFacroryRequest); this.Add(barRequest); return barRequest; }
public void Add(BarRequest barRequest) { this.list.Add(barRequest); }
public bool Contains(BarRequest barRequest) { return this.Contains(barRequest.BarType, barRequest.BarSize, barRequest.IsBarFactoryRequest); }
public bool Contains(BarRequest barRequest) { return(this.Contains(barRequest.BarType, barRequest.BarSize, barRequest.IsBarFactoryRequest)); }
public void Remove(BarType barType, long barSize) { BarRequest barRequest = new BarRequest(barType, barSize, true); this.Remove(barRequest); }
public override bool Equals(object obj) { BarRequest barRequest = obj as BarRequest; return(barRequest != null && barRequest.BarType == this.barType && barRequest.BarSize == this.barSize); }