Show / Hide Table of Contents

Class QualityStatementItemFilterBase

Provides a base class from which Addins implementing IQualityStatementItemFilter may derive.

Inheritance
object
QualityStatementItemFilterBase
Implements
IQualityStatementItemFilter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public abstract class QualityStatementItemFilterBase : IQualityStatementItemFilter

Constructors

QualityStatementItemFilterBase(string, int)

Initializes a new instance of the QualityStatementItemFilterBase class.

Declaration
public QualityStatementItemFilterBase(string name, int weight)
Parameters
Type Name Description
string name

The text to be displayed on the Addin's button.

int weight

The order in which the Addin's button will be displayed.

Properties

IsEnabled

Gets a value indicating whether the button should be displayed.

Declaration
public bool IsEnabled { get; protected set; }
Property Value
Type Description
bool

Name

Gets the text to be displayed on the filter's button.

Declaration
public string Name { get; protected set; }
Property Value
Type Description
string

Weight

Gets the order in which this Addin should be displayed. Lower values are displayed higher or further to the left.

Declaration
public int Weight { get; protected set; }
Property Value
Type Description
int

Methods

GetItemState(QualityStatementItem)

Called to determine whether the specified quality statement item should be displayed when the filter defined by this Addin is active.

Declaration
public abstract QualityStatementItemState GetItemState(QualityStatementItem item)
Parameters
Type Name Description
QualityStatementItem item

The item for which state is being determined.

Returns
Type Description
QualityStatementItemState

Whether the item should be displayed, disabled, or hidden.

Implements

IQualityStatementItemFilter
In this article
Back to top Generated by DocFX