Exemplo n.º 1
0
 public static APlaced DeepCopy(
     this IAPlacedGetter item,
     out APlaced.ErrorMask errorMask,
     APlaced.TranslationMask?copyMask = null)
 {
     return(((APlacedSetterTranslationCommon)((IAPlacedGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: out errorMask));
 }
Exemplo n.º 2
0
        public static void DeepCopyIn(
            this IAPlacedInternal lhs,
            IAPlacedGetter rhs,
            out APlaced.ErrorMask errorMask,
            APlaced.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((APlacedSetterTranslationCommon)((IAPlacedGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = APlaced.ErrorMask.Factory(errorMaskBuilder);
        }