コード例 #1
0
 public ModImporter(
     IFileSystem fileSystem,
     IGameReleaseContext gameRelease)
 {
     _fileSystem  = fileSystem;
     _gameRelease = gameRelease;
 }
コード例 #2
0
 public GameDirectoryProvider(
     IGameReleaseContext release,
     IGameDirectoryLookup locator)
 {
     _release = release;
     _locator = locator;
 }
コード例 #3
0
 public ArchiveReaderProvider(
     IFileSystem fileSystem,
     IGameReleaseContext gameRelease)
 {
     _fileSystem  = fileSystem;
     _gameRelease = gameRelease;
 }
コード例 #4
0
        private static PluginListingsProvider PluginListingsProvider(
            IDataDirectoryProvider dataDirectory,
            IGameReleaseContext gameContext,
            IPluginListingsPathProvider listingsPathProvider,
            bool throwOnMissingMods,
            IFileSystem fs)
        {
            var pluginListingParser = new PluginListingsParser(
                new ModListingParser(
                    new HasEnabledMarkersProvider(gameContext)));
            var provider = new PluginListingsProvider(
                gameContext,
                new TimestampedPluginListingsProvider(
                    new TimestampAligner(fs),
                    new TimestampedPluginListingsPreferences()
            {
                ThrowOnMissingMods = throwOnMissingMods
            },
                    new PluginRawListingsReader(
                        fs,
                        pluginListingParser),
                    dataDirectory,
                    listingsPathProvider),
                new EnabledPluginListingsProvider(
                    new PluginRawListingsReader(
                        fs,
                        pluginListingParser),
                    listingsPathProvider));

            return(provider);
        }
コード例 #5
0
 public MasterReferenceReaderFactory(
     IFileSystem fileSystem,
     IGameReleaseContext gameReleaseContext)
 {
     _fileSystem         = fileSystem;
     _gameReleaseContext = gameReleaseContext;
 }
コード例 #6
0
 public PluginListingsProvider(
     IGameReleaseContext gameReleaseContext,
     ITimestampedPluginListingsProvider timestampedPluginsProvider,
     IEnabledPluginListingsProvider enabledPluginListingsProvider)
 {
     _gameReleaseContext            = gameReleaseContext;
     _timestampedPluginsProvider    = timestampedPluginsProvider;
     _enabledPluginListingsProvider = enabledPluginListingsProvider;
 }
コード例 #7
0
 public RunArgsConstructor(
     IPatcherNameSanitizer patcherNameSanitizer,
     IGameReleaseContext releaseContext,
     IDataDirectoryProvider dataDirectoryProvider,
     IRunLoadOrderPathProvider runLoadOrderPathProvider,
     IProfileDirectories profileDirectories)
 {
     ReleaseContext           = releaseContext;
     DataDirectoryProvider    = dataDirectoryProvider;
     RunLoadOrderPathProvider = runLoadOrderPathProvider;
     ProfileDirectories       = profileDirectories;
     PatcherNameSanitizer     = patcherNameSanitizer;
 }
コード例 #8
0
 public GameEnvironmentProvider(
     IGameReleaseContext gameReleaseContext,
     ILoadOrderImporter loadOrderImporter,
     IDataDirectoryProvider dataDirectoryProvider,
     IPluginListingsPathProvider pluginListingsPathProvider,
     ICreationClubListingsPathProvider cccPath)
 {
     _gameReleaseContext         = gameReleaseContext;
     _loadOrderImporter          = loadOrderImporter;
     _dataDirectoryProvider      = dataDirectoryProvider;
     _pluginListingsPathProvider = pluginListingsPathProvider;
     _cccPath = cccPath;
 }
コード例 #9
0
 public ExecuteOpenForSettings(
     IGameReleaseContext gameReleaseContext,
     IDataDirectoryProvider dataDirectoryProvider,
     ITemporaryLoadOrderProvider loadOrderProvider,
     IProcessRunner processRunner,
     IRunProcessStartInfoProvider runProcessStartInfoProvider,
     IWindowPlacement windowPlacement)
 {
     GameReleaseContext          = gameReleaseContext;
     DataDirectoryProvider       = dataDirectoryProvider;
     ProcessRunner               = processRunner;
     LoadOrderProvider           = loadOrderProvider;
     RunProcessStartInfoProvider = runProcessStartInfoProvider;
     WindowPlacement             = windowPlacement;
 }
コード例 #10
0
 public OpenSettingsHost(
     IGameReleaseContext gameReleaseContext,
     IPatcherNameProvider nameProvider,
     ITemporaryLoadOrderProvider loadOrderProvider,
     IProcessRunner processRunner,
     IDataDirectoryProvider dataDirectoryProvider,
     IRunProcessStartInfoProvider runProcessStartInfoProvider,
     IWindowPlacement windowPlacement)
 {
     _gameReleaseContext          = gameReleaseContext;
     _nameProvider                = nameProvider;
     _loadOrderProvider           = loadOrderProvider;
     _processRunner               = processRunner;
     _dataDirectoryProvider       = dataDirectoryProvider;
     _runProcessStartInfoProvider = runProcessStartInfoProvider;
     _windowPlacement             = windowPlacement;
 }
コード例 #11
0
 public ExecuteRunnabilityCheck(
     IGameReleaseContext gameReleaseContext,
     IWorkDropoff workDropoff,
     IProcessRunner processRunner,
     IDataDirectoryProvider dataDirectoryProvider,
     IBuildMetaFileReader metaFileReader,
     IShortCircuitSettingsProvider shortCircuitSettingsProvider,
     IWriteShortCircuitMeta writeShortCircuitMeta,
     IRunProcessStartInfoProvider runProcessStartInfoProvider)
 {
     MetaFileReader = metaFileReader;
     _shortCircuitSettingsProvider = shortCircuitSettingsProvider;
     _writeShortCircuitMeta        = writeShortCircuitMeta;
     Dropoff = workDropoff;
     DataDirectoryProvider       = dataDirectoryProvider;
     GameReleaseContext          = gameReleaseContext;
     ProcessRunner               = processRunner;
     RunProcessStartInfoProvider = runProcessStartInfoProvider;
 }
コード例 #12
0
 public PluginListingsPathProvider(IGameReleaseContext gameReleaseContext)
 {
     _gameReleaseContext = gameReleaseContext;
 }
コード例 #13
0
 public ImplicitRecordFormKeyProvider(
     IGameReleaseContext gameRelease)
 {
     _gameRelease = gameRelease;
 }
コード例 #14
0
 public ArchiveExtensionProvider(IGameReleaseContext gameReleaseContext)
 {
     _gameReleaseContext = gameReleaseContext;
 }
コード例 #15
0
 public ImplicitListingModKeyProvider(
     IGameReleaseContext gameRelease)
 {
     _gameRelease = gameRelease;
 }
コード例 #16
0
 public ImplicitBaseMasterProvider(
     IGameReleaseContext gameRelease)
 {
     _gameRelease = gameRelease;
 }
コード例 #17
0
 public GameCategoryContext(IGameReleaseContext releaseContext)
 {
     _releaseContext = releaseContext;
 }
コード例 #18
0
 public ModActivator(
     IGameReleaseContext gameRelease)
 {
     _gameRelease = gameRelease;
 }