/// <summary> /// 处理每种类型,在其内部遍历所有加载程序集类型 /// </summary> /// <param name="assemblyProcessor">程序集加工处理器</param> public void ProcessAssembly(IAssemblyProcessor assemblyProcessor) { if (assemblyProcessor == null) { return; } this.ProcessAssembly(new[] { assemblyProcessor }); }
public AppViewModel() { assemblyProcessorService = new AssemblyProcessor(); Assemblies = new ObservableCollection <Assembly>(); }