コード例 #1
0
 public static ActionRecord DeepCopy(
     this IActionRecordGetter item,
     out ActionRecord.ErrorMask errorMask,
     ActionRecord.TranslationMask?copyMask = null)
 {
     return(((ActionRecordSetterTranslationCommon)((IActionRecordGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: out errorMask));
 }
コード例 #2
0
        public static void DeepCopyIn(
            this IActionRecordInternal lhs,
            IActionRecordGetter rhs,
            out ActionRecord.ErrorMask errorMask,
            ActionRecord.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((ActionRecordSetterTranslationCommon)((IActionRecordGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = ActionRecord.ErrorMask.Factory(errorMaskBuilder);
        }