Interface IFilter
Interface to implement when adding a filter
Namespace: Unity.Industrial.Forma.Editor.UI.Service
Syntax
[MovedFrom(true, "UnityEditor.Industrial.Configuring.UI", "Unity.Industrial.Configurator.Editor", null)]
public interface IFilter
Properties
Label
Gets the label.
Declaration
string Label { get; }
Property Value
| Type | Description |
|---|---|
| String | The label. |
Methods
OnFilter(IEnumerable<FeatureSet>, IEnumerable<Feature>, Product)
Called when [filter].
Declaration
FilteredContent OnFilter(IEnumerable<FeatureSet> featureSets, IEnumerable<Feature> features, Product product)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<FeatureSet> | featureSets | The feature sets. |
| IEnumerable<Feature> | features | The features. |
| Product | product | The product. |
Returns
| Type | Description |
|---|---|
| FilteredContent | FilteredContent. |