예제 #1
0
 public InstallModpack(IComponentContext components)
 {
     _installBase             = components.Resolve <IInstallBase>();
     _archiveContents         = components.Resolve <IArchiveContents>();
     _logger                  = components.Resolve <ILogger>();
     _commonFilesystemUtility = components.Resolve <ICommonFilesystemUtility>();
 }
예제 #2
0
        public ArchiveContents(IComponentContext components)
        {
            _logger = components.Resolve <ILogger>();
            _commonFilesystemUtility = components.Resolve <ICommonFilesystemUtility>();
            _installBase             = components.Resolve <IInstallBase>();

            _libraryPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "7z.dll");
        }
예제 #3
0
 public ArchiveContents(IComponentContext components)
 {
     _logger = components.Resolve <ILogger>();
     _commonFilesystemUtility = components.Resolve <ICommonFilesystemUtility>();
 }