Пример #1
0
        public BarRequest Add(BarType barType, long barSize, bool isBarFacroryRequest)
        {
            BarRequest barRequest = new BarRequest(barType, barSize, isBarFacroryRequest);

            this.Add(barRequest);
            return(barRequest);
        }
Пример #2
0
		public void Remove(BarRequest barRequest)
		{
			this.list.Remove(barRequest);
		}
Пример #3
0
		public BarRequest Add(BarType barType, long barSize, bool isBarFacroryRequest)
		{
			BarRequest barRequest = new BarRequest(barType, barSize, isBarFacroryRequest);
			this.Add(barRequest);
			return barRequest;
		}
Пример #4
0
		public void Add(BarRequest barRequest)
		{
			this.list.Add(barRequest);
		}
Пример #5
0
		public bool Contains(BarRequest barRequest)
		{
			return this.Contains(barRequest.BarType, barRequest.BarSize, barRequest.IsBarFactoryRequest);
		}
Пример #6
0
 public void Remove(BarRequest barRequest)
 {
     this.list.Remove(barRequest);
 }
Пример #7
0
 public void Add(BarRequest barRequest)
 {
     this.list.Add(barRequest);
 }
Пример #8
0
 public bool Contains(BarRequest barRequest)
 {
     return(this.Contains(barRequest.BarType, barRequest.BarSize, barRequest.IsBarFactoryRequest));
 }
Пример #9
0
        public void Remove(BarType barType, long barSize)
        {
            BarRequest barRequest = new BarRequest(barType, barSize, true);

            this.Remove(barRequest);
        }
Пример #10
0
        public override bool Equals(object obj)
        {
            BarRequest barRequest = obj as BarRequest;

            return(barRequest != null && barRequest.BarType == this.barType && barRequest.BarSize == this.barSize);
        }
Пример #11
0
		public void Remove(BarType barType, long barSize)
		{
			BarRequest barRequest = new BarRequest(barType, barSize, true);
			this.Remove(barRequest);
		}