//Auto-generated: Do not modify this file! using System.Collections; using System.Collections.Generic; using TriLibCore.Fbx.Reader; using TriLibCore.Gltf; using TriLibCore.Obj.Reader; using TriLibCore.Ply.Reader; using TriLibCore.Stl.Reader; using TriLibCore.ThreeMf.Reader; namespace TriLibCore { public class Readers { public static IList Extensions { get { var extensions = new List(); extensions.AddRange(StlReader.GetExtensions()); extensions.AddRange(ObjReader.GetExtensions()); extensions.AddRange(FbxReader.GetExtensions()); extensions.AddRange(GltfReader.GetExtensions()); extensions.AddRange(PlyReader.GetExtensions()); extensions.AddRange(ThreeMfReader.GetExtensions()); return extensions; } } public static ReaderBase FindReaderForExtension(string extension) { if (((IList) StlReader.GetExtensions()).Contains(extension)) { return new StlReader(); } if (((IList) ObjReader.GetExtensions()).Contains(extension)) { return new ObjReader(); } if (((IList) FbxReader.GetExtensions()).Contains(extension)) { return new FbxReader(); } if (((IList) GltfReader.GetExtensions()).Contains(extension)) { return new GltfReader(); } if (((IList)PlyReader.GetExtensions()).Contains(extension)) { return new PlyReader(); } if (((IList)ThreeMfReader.GetExtensions()).Contains(extension)) { return new ThreeMfReader(); } return null; } } }