Example #1
0
        private static void LoadPrivate()
        {
            // this method must be called inside a lock block!
            var current = new NodeTypeManager();

            current.Load();

            Providers.Instance.NodeTypeManeger = current;

            NodeObserver.FireOnStart(Start);
            SnLog.WriteInformation("NodeTypeManager created: " + Providers.Instance.NodeTypeManeger);
        }
Example #2
0
        private static void LoadPrivate()
        {
            // this method must be called inside a lock block!
            var current = new NodeTypeManager();

            current.Load();
            current.StartEventSystem();

            _current = current;

            NodeObserver.FireOnStart(Start);
            SnLog.WriteInformation("NodeTypeManager created: " + _current);
        }