public static MiscItem DeepCopy( this IMiscItemGetter item, out MiscItem.ErrorMask errorMask, MiscItem.TranslationMask?copyMask = null) { return(((MiscItemSetterTranslationCommon)((IMiscItemGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask, errorMask: out errorMask)); }
public static void DeepCopyIn( this IMiscItemInternal lhs, IMiscItemGetter rhs, out MiscItem.ErrorMask errorMask, MiscItem.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((MiscItemSetterTranslationCommon)((IMiscItemGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = MiscItem.ErrorMask.Factory(errorMaskBuilder); }