예제 #1
0
 /// <summary>
 /// Adds the given file to the specified library, creating the correct
 /// entry for easier access.
 /// </summary>
 /// <param name="file">The file, assumed not <see langword="null"/>, which
 /// will contain the shape to add to the library.</param>
 /// <param name="library">The collection of shapes which will get a new
 /// shape present in the previous file.</param>
 private static void Add(FileInfo file, MeshLibrary library) =>
 library.Add(new MeshEntry(file));