Class ServiceKit
Root / base class for ServiceKits. ServiceKits are a bundle of services which are quickly available when you need them.
This is a base/empty Kit of services. It doesn't provide any services/properties. As of v14.03+ you should use the ServiceKit14
Inheritance
System.Object
ToSic.Lib.Services.ServiceBase
ToSic.Sxc.Services.ServiceForDynamicCode
ServiceKit
Implements
Namespace: ToSic.Sxc.Services
Assembly: ToSic.Sxc.dll
Syntax
[PublicApi]
public class ServiceKit : ServiceForDynamicCode, IHasLog, INeedsDynamicCodeRoot, IHasDynamicCodeRoot
Remarks
- History: Added v14.04
- Everything that needs a ServiceKit will have a "where TKit : ServiceKit14"
- It's not abstract, so that you can use it as the placeholder in cases where you don't need a real kit (like in DynamicCodeRoot generic types)