Table of Contents

Class ServiceKit

Namespace
ToSic.Sxc.Services
Assembly
ToSic.Sxc.dll

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

[PublicApi]
public class ServiceKit : ServiceForDynamicCode, IHasLog, ICanDebug
Inheritance
ServiceKit
Implements
Derived

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)