Exemplo n.º 1
0
 public override void BuildComponents(IComponentBuilder builder)
 {
     builder.UseMemoryDataCollector <OsuMemoryDataCollector, OsuProcessMatchedEvent, OsuProcessTerminatedEvent>();
     builder.UsePluginOptionsModel <MemoryReader, PorcessListenerConfiguration>();
     builder.UseProcessListener(listen => listen
                                .UseLifetimeTracker <OsuProcessTracker, OsuProcessTerminatedEvent>()
                                .UsePredictor <OsuProcessPredicator, OsuProcessMatchedEvent>()
                                );
 }