Example #1
0
        public UnSubscribeOrderElementCommand(ChartOrderElement element)
        {
            if (element == null)
            {
                throw new ArgumentNullException(nameof(element));
            }

            Element = element;
        }
Example #2
0
        public SubscribeOrderElementCommand(ChartOrderElement element, Security security)
        {
            if (element == null)
            {
                throw new ArgumentNullException(nameof(element));
            }

            if (security == null)
            {
                throw new ArgumentNullException(nameof(security));
            }

            Element  = element;
            Security = security;
        }
		private void OnChartPanelSubscribeOrderElement(ChartOrderElement element, Security security)
		{
			new SubscribeOrderElementCommand(element, security).Process(this);
		}
		public UnSubscribeOrderElementCommand(ChartOrderElement element)
		{
			if (element == null)
				throw new ArgumentNullException(nameof(element));

			Element = element;
		}
		public SubscribeOrderElementCommand(ChartOrderElement element, Security security)
		{
			if (element == null)
				throw new ArgumentNullException(nameof(element));

			if (security == null)
				throw new ArgumentNullException(nameof(security));

			Element = element;
			Security = security;
		}
 private void OnChartPanelSubscribeOrderElement(ChartOrderElement element, Security security)
 {
     new SubscribeOrderElementCommand(element, security).Process(this);
 }