Show / Hide Table of Contents

Class NotificationObject

Base class for items that support property notification.

Inheritance
System.Object
NotificationObject
BasedOn
CodeValue
CustomFieldDefinition
Aggregation
Anchor
AuthorizationSource
CaseLaw
ClassificationIndexEntry
ClassificationMap
Condition
CountryCode
Coverage
CustomIfElseBranchActivity
DataItem
Date
DateRange
DateSpecification
FundingInformation
GeographicBoundingBox
HoldingInformation
Level
Location
Operation
OrganizationRelationship
QualityStatementItem
QuestionBlockMember
QuestionGridDimension
QuestionRoster
ResponseDomain
SeriesStatement
SourceCode
StandardWeightCoding
ConceptNode
QualityStatementNode
QuestionInInstrument
QuestionInInstrumentCondition
VariableValue
IdentifiableBase
InternationalIdentifier
RepositoryConnectionInfo
UserAttribute
UserId
ProgressMonitor
RelatedItemAnnotation
WorkflowServerConnectionInfo
Node
ImportStep
ReportingTask
Namespace: Algenta.Colectica.Model
Assembly: Algenta.Colectica.Model.dll
Syntax
public class NotificationObject : INotifyPropertyChanged
Remarks

This class provides basic support for implementing the interface and for marshalling execution to the UI thread.

Properties

PropertyEventsSuspended

Gets a value indicating whether property events are suspended.

Declaration
public bool PropertyEventsSuspended { get; }
Property Value
Type Description
System.Boolean

true if property events are suspended; otherwise, false.

Methods

OnPropertyChanged(String)

Raises the PropertyChanged event.

Declaration
public void OnPropertyChanged(string propertyName)
Parameters
Type Name Description
System.String propertyName

Name of the property.

PropagateChildChanges(INotifyCollectionChanged, String)

Propagates the child change events for a collection of items. Each existing item is monitored for changes, and when a change occurs a PropertyChanged event is raised for this IdentifiableBase object. Newly added items are also monitored.

Declaration
protected void PropagateChildChanges(INotifyCollectionChanged collection, string name)
Parameters
Type Name Description
INotifyCollectionChanged collection

The collection to monitor for changes.

System.String name

The name of the property, used to raise PropertyChanged events for propagation.

RaisePropertyChanged(String)

Raises this object's PropertyChanged event for each of the properties.

Declaration
protected virtual void RaisePropertyChanged(string propertyName)
Parameters
Type Name Description
System.String propertyName

RaisePropertyChanged(String[])

Raises this object's PropertyChanged event for each of the properties.

Declaration
protected void RaisePropertyChanged(params string[] propertyNames)
Parameters
Type Name Description
System.String[] propertyNames

The properties that have a new value.

RaisePropertyChanged<T>(Expression<Func<T>>)

Raises this object's PropertyChanged event.

Declaration
protected void RaisePropertyChanged<T>(Expression<Func<T>> propertyExpression)
Parameters
Type Name Description
Expression<Func<T>> propertyExpression

A Lambda expression representing the property that has a new value.

Type Parameters
Name Description
T

The type of the property that has a new value

ResumePropertyEvents()

Resumes issuing property events.

Declaration
public void ResumePropertyEvents()

SuspendPropertyEvents()

Suspends issuing property events.

Declaration
public void SuspendPropertyEvents()

Events

PropertyChanged

Indicates that a property's value has changed.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler

Extension Methods

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