Beispiel #1
0
 public static VirtualMachineAdapter DeepCopy(
     this IVirtualMachineAdapterGetter item,
     out VirtualMachineAdapter.ErrorMask errorMask,
     VirtualMachineAdapter.TranslationMask?copyMask = null)
 {
     return(((VirtualMachineAdapterSetterTranslationCommon)((IVirtualMachineAdapterGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: out errorMask));
 }
Beispiel #2
0
        public static void DeepCopyIn(
            this IVirtualMachineAdapter lhs,
            IVirtualMachineAdapterGetter rhs,
            out VirtualMachineAdapter.ErrorMask errorMask,
            VirtualMachineAdapter.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((VirtualMachineAdapterSetterTranslationCommon)((IVirtualMachineAdapterGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = VirtualMachineAdapter.ErrorMask.Factory(errorMaskBuilder);
        }