internal void AddSpecific <TService>(TService instance) where TService : class { _services.AddSpecific(typeof(TService), static state => state, instance); }
internal void AddSpecific <TService>(TService instance) where TService : class { _services.AddSpecific(typeof(TService), () => instance); }