public override FileHandlerBase Create(string path) { FileHandlerBase inputHandler; if (path.EndsWith("group")) inputHandler = new LASComposite(path); else inputHandler = new LASFile(path); return inputHandler; }
public override FileHandlerBase Create(string path) { FileHandlerBase inputHandler; if (path.EndsWith("group")) { inputHandler = new LASComposite(path); } else { inputHandler = new LASFile(path); } return(inputHandler); }