示例#1
0
 public PrivateCloudSectionAnswers(IPrivateCloud privateCloud)
 {
     Summary      = privateCloud?.Summary;
     Link         = privateCloud?.Link;
     HostingModel = privateCloud?.HostingModel;
     RequiresHscn = privateCloud?.RequiresHscn;
 }
 public GetPrivateCloudResult(IPrivateCloud privateCloud)
 {
     Summary      = privateCloud?.Summary;
     Link         = privateCloud?.Link;
     HostingModel = privateCloud?.HostingModel;
     RequiredHscn = privateCloud?.RequiresHscn is not null
         ? new HashSet <string> {
         privateCloud.RequiresHscn
     }
         : new HashSet <string>();
 }