NoteChart(SimFile simFile) { if (simFile == null) { // throw exception here } PapaSimFile = simFile; PapaSimFile.AddNoteChart(this); }
public Notechart(SimFile parent) { this.Parent = parent; }
internal NoteChart(SimFile owner, string id) { this.Owner = owner; this.Id = id; Owner.Add(id, this); }
// internal: code outside this assembly cannot instantiate this class internal NoteChart(SimFile parent, string id) { this.Parent = parent; this.Id = id; Parent.dictionary.Add(id, this); }