コード例 #1
0
        // ReSharper disable once SuggestBaseTypeForParameter
        public PendingDirectory(InstallationDirectory installationDirectory, SystemClock clock)
        {
            _pendingLocation = installationDirectory.GetChildDirectory(LocationExtensions.Pending);
            _pendingLocation.EnsureExists();

            _clock = clock;
        }
コード例 #2
0
        public DummyInventoryManager(InstallationDirectory installationDirectory)
        {
            _installationDirectory = installationDirectory;

            _sampleData = _installationDirectory
                .GetChildDirectory("bin")
                .GetChildDirectory("Integration")
                .GetChildDirectory("JDE")
                .GetChildDirectory("SampleData");
        }
コード例 #3
0
 public ReadyDirectory(InstallationDirectory installationDirectory, SystemClock clock)
 {
     _readyLocation = installationDirectory.GetChildDirectory(LocationExtensions.Ready);
     _readyLocation.EnsureExists();
     _clock = clock;
 }
コード例 #4
0
 public ArchiveDirectory(InstallationDirectory installationDirectory)
 {
     _location = installationDirectory.GetChildDirectory(LocationExtensions.Archive);
     _location.EnsureExists();
 }
コード例 #5
0
ファイル: DotNetNugsDirectory.cs プロジェクト: wbinford/nu
 public DotNetNugsDirectory(InstallationDirectory directory, NuConventions conventions)
     : base(directory.GetChildDirectory(conventions.NugsDirectoryName).Name)
 {
 }