public FFXIVMemory(TinyIoCContainer container) { logger = container.Resolve <ILogger>(); repository = container.Resolve <FFXIVRepository>(); repository.RegisterProcessChangedHandler(UpdateProcess); }
public FFXIVProcess(TinyIoCContainer container) { logger_ = container.Resolve <ILogger>(); ffxiv_ = container.Resolve <FFXIVRepository>(); ffxiv_.RegisterProcessChangedHandler((process) => { processChanged_ = true; }); }