Exemple #1
0
 public static void CopyInFromBinary(
     this IKeywordInternal item,
     MutagenFrame frame,
     RecordTypeConverter?recordTypeConverter = null)
 {
     ((KeywordSetterCommon)((IKeywordGetter)item).CommonSetterInstance() !).CopyInFromBinary(
         item: item,
         frame: frame,
         recordTypeConverter: recordTypeConverter);
 }
Exemple #2
0
 public static void DeepCopyIn(
     this IKeywordInternal lhs,
     IKeywordGetter rhs,
     ErrorMaskBuilder?errorMask,
     TranslationCrystal?copyMask)
 {
     ((KeywordSetterTranslationCommon)((IKeywordGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
         item: lhs,
         rhs: rhs,
         errorMask: errorMask,
         copyMask: copyMask,
         deepCopy: false);
 }
Exemple #3
0
        public static void DeepCopyIn(
            this IKeywordInternal lhs,
            IKeywordGetter rhs,
            out Keyword.ErrorMask errorMask,
            Keyword.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((KeywordSetterTranslationCommon)((IKeywordGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = Keyword.ErrorMask.Factory(errorMaskBuilder);
        }
Exemple #4
0
 public static void Clear(this IKeywordInternal item)
 {
     ((KeywordSetterCommon)((IKeywordGetter)item).CommonSetterInstance() !).Clear(item: item);
 }