예제 #1
0
        public Worker(XDocument xmlGame, XDocument xmlEdit, FileContainer root)
        {
            Configuration.Initialize(xmlEdit);
            this.config = Configuration.GetInstance();
            FileManager.Initialize(root, FileInfoCollection.FromXml(xmlGame));
            this.fileManager = FileManager.GetInstance();

            this.edit = xmlEdit;
            this.updateQueue = new List<string>();
        }
예제 #2
0
파일: Worker.cs 프로젝트: pleonex/modime
        public Worker(XDocument xmlGame, XDocument xmlEdit, FileContainer root)
        {
            Configuration.Initialize(xmlEdit);
            this.config = Configuration.GetInstance();

            this.edit = xmlEdit;
            this.updateQueue = new List<string>();

            InitializeFileTypes(root, xmlGame);
            this.fileManager = FileManager.GetInstance();
        }
예제 #3
0
 public static void Initialize(XDocument xmlEdit)
 {
     Instance = new Configuration(xmlEdit);
 }