You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider whether service resolution needs to be in the public API #1919
publicclassBindingContext:IServiceProvider{publicIConsoleConsole{get;}publicParseResultParseResult{get;}// What are the scenarios for this? I can't imagine a "service" in context here.// If there are better words, then use better words, and if implementing IServiceProvider is important, then// just explicitly implement IServiceProvider.GetService to alias it to the better name.publicvoidAddService(TypeserviceType,Func<IServiceProvider,object>factory);publicvoidAddService<T>(Func<IServiceProvider,T>factory);publicobjectGetService(TypeserviceType);}
Activity
adamsitnik commentedon Mar 21, 2023
fixed by #2093