Show / Hide Table of Contents

Class QualityStatementInformationGathererBase

Provides a base class from which implementers of IQualityStatementInformationGatherer may derive.

Inheritance
System.Object
QualityStatementInformationGathererBase
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public abstract class QualityStatementInformationGathererBase : object, IQualityStatementInformationGatherer

Properties

IsInteractive

Gets a value indicating whether the Addin displays any user interface elements.

Declaration
public bool IsInteractive { get; set; }
Property Value
Type Description
System.Boolean
Implements
IQualityStatementInformationGatherer.IsInteractive

Name

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

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
Implements
IQualityStatementInformationGatherer.Name

Methods

CanGatherInformationForItem(QualityStatementNode)

Determines whether information can be gathered for the specified quality statement item.

Declaration
public abstract bool CanGatherInformationForItem(QualityStatementNode node)
Parameters
Type Name Description
QualityStatementNode node

A QualityStatementNode representing the quality statement item for which information may be gathered.

Returns
Type Description
System.Boolean

true if this Addin can gather information for the specified quality statement item; otherwise false.

Implements
IQualityStatementInformationGatherer.CanGatherInformationForItem(QualityStatementNode)

GatherInformationForItem(QualityStatementNode, Node, QualityStatement)

Gathers information for the specified quality statement item.

Declaration
public abstract void GatherInformationForItem(QualityStatementNode node, Node contextNode, QualityStatement qualityStatement)
Parameters
Type Name Description
QualityStatementNode node

A QualityStatementNode representing the quality statement for which information is being gathered.

Node contextNode

A Node providing navigatino context for the current QualityStatement.

QualityStatement qualityStatement

The QualityStatement currently being edited.

Implements
IQualityStatementInformationGatherer.GatherInformationForItem(QualityStatementNode, Node, QualityStatement)

IsInformationStillValid(QualityStatementItem)

Indicates whether the specified QualityStatementItem's information is still accurate.

Declaration
public abstract bool IsInformationStillValid(QualityStatementItem item)
Parameters
Type Name Description
QualityStatementItem item
Returns
Type Description
System.Boolean

true if the information is still valid; otherwise false.

Implements
IQualityStatementInformationGatherer.IsInformationStillValid(QualityStatementItem)
Remarks

Addins may optionally implement this method if it useful for internal purposes. However, Colectica does not currently call this method.

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica