Ejemplo n.º 1
0
 public static ScriptVariableReference DeepCopy(
     this IScriptVariableReferenceGetter item,
     out ScriptVariableReference.ErrorMask errorMask,
     ScriptVariableReference.TranslationMask?copyMask = null)
 {
     return(((ScriptVariableReferenceSetterTranslationCommon)((IScriptVariableReferenceGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: out errorMask));
 }
Ejemplo n.º 2
0
        public static void DeepCopyIn(
            this IScriptVariableReference lhs,
            IScriptVariableReferenceGetter rhs,
            out ScriptVariableReference.ErrorMask errorMask,
            ScriptVariableReference.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((ScriptVariableReferenceSetterTranslationCommon)((IScriptVariableReferenceGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = ScriptVariableReference.ErrorMask.Factory(errorMaskBuilder);
        }