public PSSignalRResource(SignalRResource signalRResource)
     : base(signalRResource)
 {
     ExternalIp        = signalRResource.ExternalIP;
     HostName          = signalRResource.HostName;
     HostNamePrefix    = signalRResource.HostNamePrefix;
     ProvisioningState = signalRResource.ProvisioningState;
     PublicPort        = signalRResource.PublicPort;
     ServerPort        = signalRResource.ServerPort;
     Sku = new PSResourceSku(signalRResource.Sku);
 }
Пример #2
0
 public PSSignalRResource(SignalRResource signalRResource)
     : base(signalRResource)
 {
     ExternalIp        = signalRResource.ExternalIP;
     HostName          = signalRResource.HostName;
     HostNamePrefix    = signalRResource.HostNamePrefix;
     ProvisioningState = signalRResource.ProvisioningState;
     PublicPort        = signalRResource.PublicPort;
     ServerPort        = signalRResource.ServerPort;
     Sku      = new PSResourceSku(signalRResource.Sku);
     Features = new List <PSSignalRFeature>();
     foreach (var feature in signalRResource.Features)
     {
         Features.Add(new PSSignalRFeature(feature));
     }
     Cors    = new PSSignalRCorsSettings(signalRResource.Cors);
     Version = signalRResource.Version;
 }
Пример #3
0
 public PSSignalRResource(SignalRResource signalR)
     : base(signalR)
 {
     ExternalIp        = signalR.ExternalIP;
     HostName          = signalR.HostName;
     ProvisioningState = signalR.ProvisioningState;
     PublicPort        = signalR.PublicPort;
     ServerPort        = signalR.ServerPort;
     Sku      = new PSResourceSku(signalR.Sku);
     Features = new List <PSSignalRFeature>();
     foreach (var feature in signalR.Features)
     {
         Features.Add(new PSSignalRFeature(feature));
     }
     Cors        = new PSSignalRCorsSettings(signalR.Cors);
     Version     = signalR.Version;
     NetworkAcls = new PSSignalRNetworkAcls(signalR.NetworkACLs);
     Upstream    = new PSServerlessUpstreamSettings(signalR.Upstream);
 }