Esempio n. 1
0
        public static EVinvaInvoker NewEVinvaInvoker(List<EVinvaCommand> list)
        {
            _instance = EVinvaInvoker.GetEVinvaInvoker();

            _instance.EVinvaCommandList = null;
            _instance.OutputObject = null;
            _instance.Step = 0;

            _instance.EVinvaCommandList = list;
            _instance.OutputObject = new Dictionary<string, ComponentBaseOut>();

            return _instance;
        }
Esempio n. 2
0
        public static EVinvaInvoker GetEVinvaInvoker()
        {
            if (_instance == null)
            {
                lock (syncLock)
                {
                    _instance = null;
                    if (_instance == null)
                    {
                        _instance = new EVinvaInvoker();
                    }
                }
            }

            return _instance;
        }