public virtual int GetHashCode(IImpactDataSetGetter item) { var hash = new HashCode(); hash.Add(base.GetHashCode()); return(hash.ToHashCode()); }
public void Write( MutagenWriter writer, IImpactDataSetGetter item, TypedWriteParams?translationParams = null) { using (HeaderExport.Record( writer: writer, record: translationParams.ConvertToCustom(RecordTypes.IPDS))) { try { Fallout4MajorRecordBinaryWriteTranslation.WriteEmbedded( item: item, writer: writer); MajorRecordBinaryWriteTranslation.WriteRecordTypes( item: item, writer: writer, translationParams: translationParams); } catch (Exception ex) { throw RecordException.Enrich(ex, item); } } }
public void Write( MutagenWriter writer, IImpactDataSetGetter item, RecordTypeConverter?recordTypeConverter = null) { using (HeaderExport.Header( writer: writer, record: recordTypeConverter.ConvertToCustom(RecordTypes.IPDS), type: ObjectType.Record)) { try { Fallout4MajorRecordBinaryWriteTranslation.WriteEmbedded( item: item, writer: writer); MajorRecordBinaryWriteTranslation.WriteRecordTypes( item: item, writer: writer, recordTypeConverter: recordTypeConverter); } catch (Exception ex) { throw RecordException.Enrich(ex, item); } } }
public IEnumerable <IFormLinkGetter> GetContainedFormLinks(IImpactDataSetGetter obj) { foreach (var item in base.GetContainedFormLinks(obj)) { yield return(item); } yield break; }
public static ImpactDataSet DeepCopy( this IImpactDataSetGetter item, ImpactDataSet.TranslationMask?copyMask = null) { return(((ImpactDataSetSetterTranslationCommon)((IImpactDataSetGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask)); }
public static bool Equals( this IImpactDataSetGetter item, IImpactDataSetGetter rhs, ImpactDataSet.TranslationMask?equalsMask = null) { return(((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).Equals( lhs: item, rhs: rhs, crystal: equalsMask?.GetCrystal())); }
public ImpactDataSet Duplicate( IImpactDataSetGetter item, FormKey formKey, TranslationCrystal?copyMask) { var newRec = new ImpactDataSet(formKey); newRec.DeepCopyIn(item, default(ErrorMaskBuilder?), copyMask); return(newRec); }
public static ImpactDataSet Duplicate( this IImpactDataSetGetter item, FormKey formKey, ImpactDataSet.TranslationMask?copyMask = null) { return(((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).Duplicate( item: item, formKey: formKey, copyMask: copyMask?.GetCrystal())); }
protected static void ToStringFields( IImpactDataSetGetter item, FileGeneration fg, ImpactDataSet.Mask <bool>?printMask = null) { Fallout4MajorRecordCommon.ToStringFields( item: item, fg: fg, printMask: printMask); }
public static string ToString( this IImpactDataSetGetter item, string?name = null, ImpactDataSet.Mask <bool>?printMask = null) { return(((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).ToString( item: item, name: name, printMask: printMask)); }
public static ImpactDataSet DeepCopy( this IImpactDataSetGetter item, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask = null) { return(((ImpactDataSetSetterTranslationCommon)((IImpactDataSetGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask, errorMask: errorMask)); }
public static ImpactDataSet.Mask <bool> GetEqualsMask( this IImpactDataSetGetter item, IImpactDataSetGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { return(((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).GetEqualsMask( item: item, rhs: rhs, include: include)); }
public void FillEqualsMask( IImpactDataSetGetter item, IImpactDataSetGetter rhs, ImpactDataSet.Mask <bool> ret, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { if (rhs == null) { return; } base.FillEqualsMask(item, rhs, ret, include); }
public static void ToString( this IImpactDataSetGetter item, FileGeneration fg, string?name = null, ImpactDataSet.Mask <bool>?printMask = null) { ((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).ToString( item: item, fg: fg, name: name, printMask: printMask); }
public static void DeepCopyIn( this IImpactDataSetInternal lhs, IImpactDataSetGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask) { ((ImpactDataSetSetterTranslationCommon)((IImpactDataSetGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMask, copyMask: copyMask, deepCopy: false); }
public string ToString( IImpactDataSetGetter item, string?name = null, ImpactDataSet.Mask <bool>?printMask = null) { var fg = new FileGeneration(); ToString( item: item, fg: fg, name: name, printMask: printMask); return(fg.ToString()); }
public ImpactDataSet.Mask <bool> GetEqualsMask( IImpactDataSetGetter item, IImpactDataSetGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { var ret = new ImpactDataSet.Mask <bool>(false); ((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).FillEqualsMask( item: item, rhs: rhs, ret: ret, include: include); return(ret); }
public void DeepCopyIn( IImpactDataSet item, IImpactDataSetGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( (IFallout4MajorRecord)item, (IFallout4MajorRecordGetter)rhs, errorMask, copyMask, deepCopy: deepCopy); }
public void DeepCopyIn( IImpactDataSetInternal item, IImpactDataSetGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( item, rhs, errorMask, copyMask, deepCopy: deepCopy); }
public ImpactDataSet DeepCopy( IImpactDataSetGetter item, ImpactDataSet.TranslationMask?copyMask = null) { ImpactDataSet ret = (ImpactDataSet)((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).GetNew(); ((ImpactDataSetSetterTranslationCommon)((IImpactDataSetGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( item: ret, rhs: item, errorMask: null, copyMask: copyMask?.GetCrystal(), deepCopy: true); return(ret); }
public static void DeepCopyIn( this IImpactDataSetInternal lhs, IImpactDataSetGetter rhs, out ImpactDataSet.ErrorMask errorMask, ImpactDataSet.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((ImpactDataSetSetterTranslationCommon)((IImpactDataSetGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = ImpactDataSet.ErrorMask.Factory(errorMaskBuilder); }
public ImpactDataSet DeepCopy( IImpactDataSetGetter item, out ImpactDataSet.ErrorMask errorMask, ImpactDataSet.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ImpactDataSet ret = (ImpactDataSet)((ImpactDataSetCommon)((IImpactDataSetGetter)item).CommonInstance() !).GetNew(); ((ImpactDataSetSetterTranslationCommon)((IImpactDataSetGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( ret, item, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: true); errorMask = ImpactDataSet.ErrorMask.Factory(errorMaskBuilder); return(ret); }
public void ToString( IImpactDataSetGetter item, FileGeneration fg, string?name = null, ImpactDataSet.Mask <bool>?printMask = null) { if (name == null) { fg.AppendLine($"ImpactDataSet =>"); } else { fg.AppendLine($"{name} (ImpactDataSet) =>"); } fg.AppendLine("["); using (new DepthWrapper(fg)) { ToStringFields( item: item, fg: fg, printMask: printMask); } fg.AppendLine("]"); }