public static Armor DeepCopy( this IArmorGetter item, Armor.TranslationMask?copyMask = null) { return(((ArmorSetterTranslationCommon)((IArmorGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask)); }
public static Armor Duplicate( this IArmorGetter item, FormKey formKey, Armor.TranslationMask?copyMask = null) { return(((ArmorCommon)((IArmorGetter)item).CommonInstance() !).Duplicate( item: item, formKey: formKey, copyMask: copyMask?.GetCrystal())); }
public static bool Equals( this IArmorGetter item, IArmorGetter rhs, Armor.TranslationMask?equalsMask = null) { return(((ArmorCommon)((IArmorGetter)item).CommonInstance() !).Equals( lhs: item, rhs: rhs, crystal: equalsMask?.GetCrystal())); }
public Armor DeepCopy( IArmorGetter item, Armor.TranslationMask?copyMask = null) { Armor ret = (Armor)((ArmorCommon)((IArmorGetter)item).CommonInstance() !).GetNew(); ((ArmorSetterTranslationCommon)((IArmorGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( item: ret, rhs: item, errorMask: null, copyMask: copyMask?.GetCrystal(), deepCopy: true); return(ret); }
public static void DeepCopyIn( this IArmorInternal lhs, IArmorGetter rhs, out Armor.ErrorMask errorMask, Armor.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((ArmorSetterTranslationCommon)((IArmorGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = Armor.ErrorMask.Factory(errorMaskBuilder); }
public Armor DeepCopy( IArmorGetter item, out Armor.ErrorMask errorMask, Armor.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); Armor ret = (Armor)((ArmorCommon)((IArmorGetter)item).CommonInstance() !).GetNew(); ((ArmorSetterTranslationCommon)((IArmorGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( ret, item, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: true); errorMask = Armor.ErrorMask.Factory(errorMaskBuilder); return(ret); }