Table of Contents

Interface IAppFeatureFlagsService

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Abstractions.dll
public interface IAppFeatureFlagsService

Methods

Get(Type)

Try to get the app feature flag. return Null if not enabled

IAppFeatureFlag Get(Type AppFeatureFlagType)

Parameters

AppFeatureFlagType Type

Returns

IAppFeatureFlag

GetOrNull(Type)

Try to get the app feature flag. return Null if not enabled

IAppFeatureFlag GetOrNull(Type AppFeatureFlagType)

Parameters

AppFeatureFlagType Type

Returns

IAppFeatureFlag

GetOrNull<TAppFeatureFlag>()

Get app feature.Throws exception if not enabled

TAppFeatureFlag GetOrNull<TAppFeatureFlag>() where TAppFeatureFlag : class

Returns

TAppFeatureFlag

Type Parameters

TAppFeatureFlag

Get<TAppFeatureFlag>()

Get app feature.Throws exception if not enabled

TAppFeatureFlag Get<TAppFeatureFlag>() where TAppFeatureFlag : class

Returns

TAppFeatureFlag

Type Parameters

TAppFeatureFlag

TryGetValue(Type, out IAppFeatureFlag)

Try to get the app feature flag.

bool TryGetValue(Type AppFeatureFlagType, out IAppFeatureFlag value)

Parameters

AppFeatureFlagType Type
value IAppFeatureFlag

Returns

bool

TryGetValue<TAppFeatureFlag>(out TAppFeatureFlag)

Try to get the app feature flag.

bool TryGetValue<TAppFeatureFlag>(out TAppFeatureFlag value) where TAppFeatureFlag : class

Parameters

value TAppFeatureFlag

Returns

bool

Type Parameters

TAppFeatureFlag