public static async Task <string> SelectFile(string title, FileSelection fileSelection, Predicate <string> fileFilter = null, string startPath = null) { var game = AGSGame.Game; var dialog = new AGSSelectFileDialog(game, title, fileSelection, fileFilter, startPath); return(await dialog.Run()); }
public static async Task<string> SelectFile(string title, FileSelection fileSelection, string startPath = null) { var dialog = new AGSSelectFileDialog(AGSGame.Game, AGSGame.Resolver.Container.Resolve<IGLUtils>(), title, fileSelection, startPath); return await dialog.Run(); }
public static async Task <string> SelectFile(string title, FileSelection fileSelection, string startPath = null) { var dialog = new AGSSelectFileDialog(AGSGame.Game, AGSGame.Resolver.Container.Resolve <IGLUtils>(), title, fileSelection, startPath); return(await dialog.Run()); }