C# (CSharp) CK.Core SimpleServiceContainer - 17 examples found. These are the top rated real world C# (CSharp) examples of CK.Core.SimpleServiceContainer extracted from open source projects. You can rate examples to help us improve the quality of examples.
Service container (that is a IServiceProvider) subordinated to an optional base IServiceProvider that acts as a fallback if the service is not found at this level. Service creation may be deferred thanks to callback registration and an optional remove callback can be registered with each entry.
This container is registered as the service associated to IServiceProvider and ISimpleServiceContainer thanks to the overridable GetDirectService. This method may be overridden to return other built-in services: these services take precedence over the registered services.