public void AddPart(string filename) { Parts.Add(MmsPart.FromFile(filename)); }
/// <summary> /// Creates a MmsPart from a file /// </summary> /// <param name="filename">A valid path to a existing file</param> public static MmsPart FromFile(string filename) { var name = new FileInfo(filename).Name; return(MmsPart.FromFile(filename, name)); }