public FullTypeSelector() { InitializeComponent(); var assemblies = AppDomain.CurrentDomain.GetAssemblies(); List<AssemblyNamePair> listAssemblies = new List<AssemblyNamePair>(); foreach (var assembly in assemblies) { var namePair = new AssemblyNamePair(); namePair.Name = assembly.FullName; namePair.Assembly = assembly; listAssemblies.Add(namePair); } listAssemblies.Sort(); this.comboBoxAssemblies.ItemsSource = listAssemblies; }
public FullTypeSelector() { InitializeComponent(); var assemblies = AppDomain.CurrentDomain.GetAssemblies(); List <AssemblyNamePair> listAssemblies = new List <AssemblyNamePair>(); foreach (var assembly in assemblies) { var namePair = new AssemblyNamePair(); namePair.Name = assembly.FullName; namePair.Assembly = assembly; listAssemblies.Add(namePair); } listAssemblies.Sort(); this.comboBoxAssemblies.ItemsSource = listAssemblies; }