internal ServerExplorerRepository(IResourceCatalog resourceCatalog, IExplorerItemFactory explorerItemFactory, IDirectory directory, IExplorerRepositorySync sync, IServerVersionRepository versionRepository,IFile file) { VerifyArgument.AreNotNull(new Dictionary<string, object> { { "resourceCatalog", resourceCatalog }, { "explorerItemFactory", explorerItemFactory }, { "directory", directory } }); _sync = sync; _file = file; VersionRepository = versionRepository; ResourceCatalogue = resourceCatalog; ExplorerItemFactory = explorerItemFactory; Directory = directory; }
internal ServerExplorerRepository(IResourceCatalog resourceCatalog, IExplorerItemFactory explorerItemFactory, IDirectory directory, IExplorerRepositorySync sync, IServerVersionRepository versionRepository, IFile file) { VerifyArgument.AreNotNull(new Dictionary <string, object> { { "resourceCatalog", resourceCatalog }, { "explorerItemFactory", explorerItemFactory }, { "directory", directory } }); _sync = sync; _file = file; VersionRepository = versionRepository; ResourceCatalogue = resourceCatalog; ExplorerItemFactory = explorerItemFactory; Directory = directory; }
public ServerExplorerRepository(IResourceCatalog resourceCatalog, IExplorerItemFactory explorerItemFactory, IDirectory directory, IExplorerRepositorySync sync, IServerVersionRepository versionRepository, IFile file, ITestCatalog testCatalog) { VerifyArgument.AreNotNull(new Dictionary <string, object> { { "resourceCatalog", resourceCatalog }, { "explorerItemFactory", explorerItemFactory }, { "directory", directory }, { nameof(testCatalog), testCatalog } }); _sync = sync; _file = file; VersionRepository = versionRepository; ResourceCatalogue = resourceCatalog; ExplorerItemFactory = explorerItemFactory; Directory = directory; TestCatalog = testCatalog; IsDirty = false; }