Ejemplo n.º 1
0
        internal void UpdateFromProxy(Proxy_Pool_patch proxy)
        {
            this.uuid             = (proxy.uuid == null) ? null : proxy.uuid;
            this.name_label       = (proxy.name_label == null) ? null : proxy.name_label;
            this.name_description = (proxy.name_description == null) ? null : proxy.name_description;
            this.version          = (proxy.version == null) ? null : proxy.version;
            this.size             = (proxy.size == null) ? 0L : long.Parse(proxy.size);
            this.pool_applied     = proxy.pool_applied;
            this.host_patches     = (proxy.host_patches == null) ? null : XenRef <Host_patch> .Create(proxy.host_patches);

            this.after_apply_guidance = (proxy.after_apply_guidance == null) ? null : Helper.StringArrayToEnumList <WinAPI.after_apply_guidance>(proxy.after_apply_guidance);
            this.other_config         = (proxy.other_config == null) ? null : Maps.convert_from_proxy_string_string(proxy.other_config);
        }
Ejemplo n.º 2
0
 public Pool_patch(Proxy_Pool_patch proxy)
 {
     this.UpdateFromProxy(proxy);
 }