Ejemplo n.º 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;
        }
Ejemplo n.º 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;
		}
Ejemplo n.º 3
0
        public RemotingPackage(IConfiguration configuration)
        {
            Assert.ArgumentNotNull(configuration, "configuration");

            _configuration = configuration;

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

            TempDirectory = GenerateTempDirectory();
        }
Ejemplo n.º 4
0
		public RemotingPackage(IConfiguration configuration)
		{
			Assert.ArgumentNotNull(configuration, "configuration");

			_configuration = configuration;

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

			TempDirectory = GenerateTempDirectory();
		}