Beispiel #1
0
        public void Refresh()
        {
            _boxes = _savedVariablesParser.GetByName("frames").Fields.ConvertAll(_boxBuilder.BuildFromParse)
                     .OrderBy(s => s.Index)
                     .ToList();

            _boxDictionary = new Dictionary <string, List <Box> >();
            _logger.Information("Loaded Boxes from Saved Variables..");
        }
Beispiel #2
0
        public BoxMgr(SavedVariablesParser savedVariablesParser, BoxBuilder boxBuilder)
        {
            _savedVariablesParser = savedVariablesParser;
            _boxBuilder           = boxBuilder;

            _boxes = _savedVariablesParser.GetByName("frames").Fields.ConvertAll(_boxBuilder.BuildFromParse)
                     .OrderBy(s => s.Index)
                     .ToList();
        }