Class FeatureProviderHelper
- Namespace
- TimeCockpit.UI.Common.Version
- Assembly
- TimeCockpit.Data.dll
Helper for feature provider.
public static class FeatureProviderHelper
- Inheritance
-
ObjectFeatureProviderHelper
- 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
featureTypeTypeThe type describing the feature.
batchesBatchDelegate[]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
featuresList<Feature>The features to batch up in a dependency chain.
lastXamlFeatureGuidGuidthe last guid to set as prerequisite to the first feature.