Пример #1
0
 public NetworksCreateParameters(NetworkCreate NetworkCreate)
 {
     if (NetworkCreate != null)
     {
         this.CheckDuplicate = NetworkCreate.CheckDuplicate;
         this.Driver         = NetworkCreate.Driver;
         this.EnableIPv6     = NetworkCreate.EnableIPv6;
         this.IPAM           = NetworkCreate.IPAM;
         this.Internal       = NetworkCreate.Internal;
         this.Options        = NetworkCreate.Options;
         this.Labels         = NetworkCreate.Labels;
     }
 }
Пример #2
0
 public NetworksCreateParameters(NetworkCreate NetworkCreate)
 {
     if (NetworkCreate != null)
     {
         this.CheckDuplicate = NetworkCreate.CheckDuplicate;
         this.Driver         = NetworkCreate.Driver;
         this.Scope          = NetworkCreate.Scope;
         this.EnableIPv6     = NetworkCreate.EnableIPv6;
         this.IPAM           = NetworkCreate.IPAM;
         this.Internal       = NetworkCreate.Internal;
         this.Attachable     = NetworkCreate.Attachable;
         this.Ingress        = NetworkCreate.Ingress;
         this.ConfigOnly     = NetworkCreate.ConfigOnly;
         this.ConfigFrom     = NetworkCreate.ConfigFrom;
         this.Options        = NetworkCreate.Options;
         this.Labels         = NetworkCreate.Labels;
     }
 }