Show / Hide Table of Contents

Class NotificationObject

Base class for items that support property notification.

Inheritance
Object
NotificationObject
BasedOn
CodeValue
CustomFieldDefinition
IdentifiableBase
InternationalIdentifier
RepositoryConnectionInfo
UserAttribute
UserId
ProgressMonitor
RelatedItemAnnotation
WorkflowServerConnectionInfo
Implements
INotifyPropertyChanged
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Algenta.Colectica.Model
Assembly: Algenta.Colectica.Model.dll
Syntax
public class NotificationObject : INotifyPropertyChanged
Remarks

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

Properties

PropertyEventsSuspended

Gets a value indicating whether property events are suspended.

Declaration
[JsonIgnore]
public bool PropertyEventsSuspended { get; }
Property Value
Type Description
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
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.

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
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
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

Implements

System.ComponentModel.INotifyPropertyChanged

Extension Methods

Extensions.Yield<T>(T)
In This Article
Back to top Generated by DocFX