/// <summary> /// Initializes a new instance of one-staff Part /// </summary> /// <param name="staves">Staff</param> public Part(Staff staff) { Staves = new PartStavesCollection(this); Staves.Add(staff); }
/// <summary> /// Initializes a new instance of multi-staff Part /// </summary> /// <param name="staves">Staves</param> public Part(IEnumerable <Staff> staves) { Staves = new PartStavesCollection(this); Staves.AddRange(staves); }