public LoadedAssembliesVm(ICollection <string> assemblies) { _assemblies = assemblies; _assembliesVm = new ObservableCollection <AssemblyVm>(assemblies.Select(x => new AssemblyVm(x, Remove)).ToList()); Assemblies = new ReadOnlyObservableCollection <AssemblyVm>(_assembliesVm); AddCommand = new CommandVm(Texts.Command_AddAssemblies, x => Add()); DoneCommand = new CommandVm(Texts.Command_Done, x => Close()); }
public QueryOutputVm() { ClearCommand = new CommandVm(Texts.Command_ClearQueryOutput, x => Clear()); }