Esempio n. 1
0
        private static IAssetImporter ResolveImporterConflict(IAssetImporterConflictData data)
        {
            SelectAssetImporterDialog dialog = new SelectAssetImporterDialog(
                data.Importers,
                data.DefaultImporter,
                data.InputFiles);
            DialogResult result = dialog.ShowDialog();

            return(dialog.SelectedImporter);
        }
Esempio n. 2
0
		private static IAssetImporter ResolveImporterConflict(IAssetImporterConflictData data)
		{
			SelectAssetImporterDialog dialog = new SelectAssetImporterDialog(
				data.Importers, 
				data.DefaultImporter, 
				data.InputFiles);
			DialogResult result = dialog.ShowDialog();
			return dialog.SelectedImporter;
		}