コード例 #1
0
        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());
        }
コード例 #2
0
 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();
 }
コード例 #3
0
        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());
        }