FeatureTogglesExtensions.ToFeatureKey method

namespace: Serenity   assemblySerenity.Net.Core

Converts a feature (enum or string) to feature key string

public static string ToFeatureKey(object feature)
parameter description
feature Feature enum or string

Exceptions

exception condition
ArgumentNullException Feature is null
ArgumentException Feature is not a string or enum

See Also