Microsoft.WindowsAzure.Management.CloudService.Model.CloudRuntimeApplicator.CreateCloudRuntimeApplicator C# (CSharp) Метод

CreateCloudRuntimeApplicator() публичный статический Метод

Create a cloud runtime application, essentialy this is a tuple of runtime X package X role
public static CreateCloudRuntimeApplicator ( Microsoft.WindowsAzure.Management.CloudService.Model.CloudRuntime cloudRuntime, CloudRuntimePackage cloudRuntimePackage, Microsoft.WindowsAzure.Management.CloudService.ServiceDefinitionSchema.WebRole role ) : CloudRuntimeApplicator
cloudRuntime Microsoft.WindowsAzure.Management.CloudService.Model.CloudRuntime The runtime in the tuple
cloudRuntimePackage CloudRuntimePackage The package in the tuple
role Microsoft.WindowsAzure.Management.CloudService.ServiceDefinitionSchema.WebRole The role to apply the package to
Результат CloudRuntimeApplicator
        public static CloudRuntimeApplicator CreateCloudRuntimeApplicator(CloudRuntime cloudRuntime, CloudRuntimePackage cloudRuntimePackage, WebRole role)
        {
            CloudRuntimeApplicator applicator = new CloudRuntimeApplicator
            {
                Runtime = cloudRuntime,
                Package = cloudRuntimePackage,
                WebRole = role
            };

            return applicator;
        }

Same methods

CloudRuntimeApplicator::CreateCloudRuntimeApplicator ( Microsoft.WindowsAzure.Management.CloudService.Model.CloudRuntime cloudRuntime, CloudRuntimePackage cloudRuntimePackage, Microsoft.WindowsAzure.Management.CloudService.ServiceDefinitionSchema.WorkerRole role ) : CloudRuntimeApplicator