Biz.Managers.LevelStructureContentResourceDeonloadManager.LevelStructureContentResourceDeonloadManager C# (CSharp) Method

LevelStructureContentResourceDeonloadManager() public method

public LevelStructureContentResourceDeonloadManager ( IDownloadService downloadService, IBaseModule module, IContentResourceServcie resourceService, IConstants constants ) : System
downloadService IDownloadService
module IBaseModule
resourceService IContentResourceServcie
constants IConstants
return System
        public LevelStructureContentResourceDeonloadManager(IDownloadService downloadService, IBaseModule module, IContentResourceServcie resourceService, IConstants constants)
        {
            this.downloadService = downloadService;
            this.levelContentResourceService = resourceService;
            this.constants = constants;

            this.Level = module as Level;

            var filePath = string.Format(@"level_{0}_{1}.json", this.Level.Id, this.constants.CultureCode);
            this.savePath = this.constants.LocalStructurePath + filePath;

            this.ResourceList = new List<MapfileItem>();

            MapfileItem f = new MapfileItem();
            f.FileName = filePath;

            this.ResourceList.Add(f);
        }
LevelStructureContentResourceDeonloadManager