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