Table of Contents

Class FeatureProviderHelper

Namespace
TimeCockpit.UI.Common.Version
Assembly
TimeCockpit.Data.dll

Helper for feature provider.

public static class FeatureProviderHelper
Inheritance
Object
FeatureProviderHelper
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Methods

CreateFeatureFromType(Type, BatchDelegate[])

Creates a feature from a set of batches.

public static Feature CreateFeatureFromType(Type featureType, BatchDelegate[] batches)

Parameters

featureType Type

The type describing the feature.

batches BatchDelegate[]

The batch delegates.

Returns

Feature

Returns a feature.

FixFeatureDependencies(List<Feature>, Guid)

Adds the feature prerequisites

public static void FixFeatureDependencies(List<Feature> features, Guid lastXamlFeatureGuid)

Parameters

features List<Feature>

The features to batch up in a dependency chain.

lastXamlFeatureGuid Guid

the last guid to set as prerequisite to the first feature.