示例#1
0
 public AssemblyObserver()
 {
     _items = new Buffer <Assembly>(
         AssemblyProbe.Create().EnumerateAssemblies()
         );
 }
 private Action ExecuteProbeAgain(AssemblyProbe probe, IEnumerable <Assembly> asms)
 {
     return(() => AddRange(probe.EnumerateAgain(asms)));
 }
 private Action ExecuteProbe(AssemblyProbe probe)
 {
     return(() => AddRange(probe.EnumerateAssemblies().Select(AssemblyReference.CreateFromAssembly)));
 }
 private Action ExecuteProbeDeferred(AssemblyProbe probe)
 {
     return(() => AddRange(probe.EnumerateDeferredAssemblies()));
 }