These v19 docs are archived 🔒.
Go to the
latest docs home
or try if
this exact page is available
in the latest docs.
Interface IFeaturesService
Service on Kit.Feature
to let your code find out what system features are currently enabled/disabled in the environment.
[PublicApi]
public interface IFeaturesService : IHasLog, ICanDebug
- Inherited Members
Remarks
It's important to detect if the admin must activate certain features to let your code do it's work.
This replaces the older static Features accessor - please only use this from now on.
History:
- Added this implementation in 13.01
Methods
IsEnabled(params string[])
Checks if a list of features are enabled, in case you need many features to be activated.
bool IsEnabled(params string[] nameIds)
Parameters
nameIds
string[]one or many name IDs - can also be the guids (as string)
Returns
- bool
true if all features are enabled, false if any one of them is not
Remarks
Added in v13.01