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

            ((RegionLandSetterTranslationCommon)((IRegionLandGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = RegionLand.ErrorMask.Factory(errorMaskBuilder);
        }