Class FeatureProviderHelper
Helper for feature provider.
Inheritance
System.Object
FeatureProviderHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.UI.Common.Version
Assembly: TimeCockpit.Data.dll
Syntax
public static class FeatureProviderHelper
Methods
CreateFeatureFromType(Type, BatchDelegate[])
Creates a feature from a set of batches.
Declaration
public static Feature CreateFeatureFromType(Type featureType, BatchDelegate[] batches)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | featureType | The type describing the feature. |
| BatchDelegate[] | batches | The batch delegates. |
Returns
| Type | Description |
|---|---|
| Feature | Returns a feature. |
FixFeatureDependencies(List<Feature>, Guid)
Adds the feature prerequisites
Declaration
public static void FixFeatureDependencies(List<Feature> features, Guid lastXamlFeatureGuid)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<Feature> | features | The features to batch up in a dependency chain. |
| System.Guid | lastXamlFeatureGuid | the last guid to set as prerequisite to the first feature. |