示例#1
0
        private RemotingPackage(RemotingPackageManifest manifest, string tempDirectory)
        {
            Assert.ArgumentNotNull(manifest, "manifest");

            _configuration = UnicornConfigurationManager.Configurations.First(x => x.Name.Equals(manifest.ConfigurationName, StringComparison.Ordinal));
            Manifest       = manifest;

            TempDirectory = tempDirectory;
        }
示例#2
0
		private RemotingPackage(RemotingPackageManifest manifest, string tempDirectory)
		{
			Assert.ArgumentNotNull(manifest, "manifest");

			_configuration = UnicornConfigurationManager.Configurations.First(x => x.Name.Equals(manifest.ConfigurationName, StringComparison.Ordinal));
			Manifest = manifest;

			TempDirectory = tempDirectory;
		}
示例#3
0
        public RemotingPackage(IConfiguration configuration)
        {
            Assert.ArgumentNotNull(configuration, "configuration");

            _configuration = configuration;

            Manifest = new RemotingPackageManifest();
            Manifest.ConfigurationName = _configuration.Name;

            TempDirectory = GenerateTempDirectory();
        }
示例#4
0
		public RemotingPackage(IConfiguration configuration)
		{
			Assert.ArgumentNotNull(configuration, "configuration");

			_configuration = configuration;

			Manifest = new RemotingPackageManifest();
			Manifest.ConfigurationName = _configuration.Name;

			TempDirectory = GenerateTempDirectory();
		}