public void AddDataReference(XofFileEnumData child) { if (child == null) { throw new ArgumentNullException(nameof(child)); } AddDataReference(child.GetName(), child.GetId()); }
public XofFileSaveData AddData(XofFileEnumData child) { if (child == null) { throw new ArgumentNullException(nameof(child)); } return(AddData(child.GetTemplateType(), child.GetName(), child.GetId(), child.GetData())); }