コード例 #1
0
        public override void Run()
        {
            foreach (var step in _programSteps)
            {
                step.Execute();
            }

            USMTList list = USMTList.Instance();

            list.RemoveProgram(_computer.IPAddress);
        }
コード例 #2
0
        public static USMTList Instance()
        {
            if (_instance == null)
            {
                lock (syncLock)
                {
                    if (_instance == null)
                    {
                        _instance = new USMTList();
                    }
                }
            }

            return(_instance);
        }