public DryIocService(IContainer dryIocContainer) { dryIocContainer.With(rules => rules.WithTrackingDisposableTransients()); _dryIocContainer = dryIocContainer; _dryIocContainer.UseInstance <IIocService>(this, IfAlreadyRegistered.Throw); }