Example #1
0
 public static bool Equals(
     this IVoiceTypeGetter item,
     IVoiceTypeGetter rhs)
 {
     return(((VoiceTypeCommon)((IVoiceTypeGetter)item).CommonInstance() !).Equals(
                lhs: item,
                rhs: rhs));
 }
Example #2
0
 public static VoiceType DeepCopy(
     this IVoiceTypeGetter item,
     VoiceType.TranslationMask?copyMask = null)
 {
     return(((VoiceTypeSetterTranslationCommon)((IVoiceTypeGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask));
 }
Example #3
0
 public static VoiceType Duplicate(
     this IVoiceTypeGetter item,
     FormKey formKey,
     VoiceType.TranslationMask?copyMask = null)
 {
     return(((VoiceTypeCommon)((IVoiceTypeGetter)item).CommonInstance() !).Duplicate(
                item: item,
                formKey: formKey,
                copyMask: copyMask?.GetCrystal()));
 }
Example #4
0
 public static VoiceType DeepCopy(
     this IVoiceTypeGetter item,
     ErrorMaskBuilder?errorMask,
     TranslationCrystal?copyMask = null)
 {
     return(((VoiceTypeSetterTranslationCommon)((IVoiceTypeGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: errorMask));
 }
Example #5
0
 public static string ToString(
     this IVoiceTypeGetter item,
     string?name = null,
     VoiceType.Mask <bool>?printMask = null)
 {
     return(((VoiceTypeCommon)((IVoiceTypeGetter)item).CommonInstance() !).ToString(
                item: item,
                name: name,
                printMask: printMask));
 }
Example #6
0
 public static VoiceType.Mask <bool> GetEqualsMask(
     this IVoiceTypeGetter item,
     IVoiceTypeGetter rhs,
     EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
 {
     return(((VoiceTypeCommon)((IVoiceTypeGetter)item).CommonInstance() !).GetEqualsMask(
                item: item,
                rhs: rhs,
                include: include));
 }
Example #7
0
 public static void ToString(
     this IVoiceTypeGetter item,
     FileGeneration fg,
     string?name = null,
     VoiceType.Mask <bool>?printMask = null)
 {
     ((VoiceTypeCommon)((IVoiceTypeGetter)item).CommonInstance() !).ToString(
         item: item,
         fg: fg,
         name: name,
         printMask: printMask);
 }
Example #8
0
 public static void DeepCopyIn(
     this IVoiceTypeInternal lhs,
     IVoiceTypeGetter rhs,
     ErrorMaskBuilder?errorMask,
     TranslationCrystal?copyMask)
 {
     ((VoiceTypeSetterTranslationCommon)((IVoiceTypeGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
         item: lhs,
         rhs: rhs,
         errorMask: errorMask,
         copyMask: copyMask,
         deepCopy: false);
 }
Example #9
0
        public static void DeepCopyIn(
            this IVoiceTypeInternal lhs,
            IVoiceTypeGetter rhs,
            out VoiceType.ErrorMask errorMask,
            VoiceType.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((VoiceTypeSetterTranslationCommon)((IVoiceTypeGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = VoiceType.ErrorMask.Factory(errorMaskBuilder);
        }