Microsoft.VisualStudio.FeatureFlags Namespace

Classes

FeatureFlags

A service that can be used to determine if a feature should be enabled or disabled. It can also be used to enumerate the current state of feature flags. This service is free-threaded.

Structs

FeatureFlag

A structure that represents a feature flag which consists of a name and the enabled state

FeatureFlagsChangedEventArgs

Arguments for the event raised by the Changed event.

Interfaces

IFeatureFlags

A service that can be used to determine if a feature should be enabled or disabled. It can also be used to enumerate the current state of feature flags. This service is free-threaded.

IFeatureFlagsStore

An abstraction of the repository for feature flags. The collection semantics are modeled after IVsSettingsStore and as such:

Collections can contain properties and sub collections. Sub collection paths are described with the strings like the directory paths of file systems. Path contains names of all the parent collections. Similarly, separator used between the names of the parent collections is '' (back-slash) character. Example of a sub collection path would be: "Root Collection\Internal Collection\Leaf Collection".

IObservableFeatureFlagsStore

Optionally implemented by an IFeatureFlagsStore in order to invalidate any cached values from prior calls to GetBoolValue(String, String).

IWritableFeatureFlags

A testability service to allow changing the state of a feature flag.

IWritableFeatureFlagsStore

An abstraction of a writable repository for feature flags. The collection semantics are modeled after IVsSettingsStore and as such:

Collections can contain properties and sub collections. Sub collection paths are described with the strings like the directory paths of file systems. Path contains names of all the parent collections. Similarly, separator used between the names of the parent collections is '' (back-slash) character. Example of a sub collection path would be: "Root Collection\Internal Collection\Leaf Collection".