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

            ((ASpellSetterTranslationCommon)((IASpellGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = ASpell.ErrorMask.Factory(errorMaskBuilder);
        }