Show / Hide Table of Contents

Class NotifyPropertyChangedExtensions

Extension method for INotifyPropertyChanged.

Inheritance
System.Object
NotifyPropertyChangedExtensions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Extensions
Assembly: Sartorius.SAF.dll
Syntax
public static class NotifyPropertyChangedExtensions

Methods

View Source

GetPropertyName<T>(INotifyPropertyChanged, Expression<Func<T>>)

Gets the name of the given property.

Declaration
public static string GetPropertyName<T>(this INotifyPropertyChanged instance, Expression<Func<T>> property)
Parameters
Type Name Description
System.ComponentModel.INotifyPropertyChanged instance
System.Linq.Expressions.Expression<System.Func<T>> property

The property.

Returns
Type Description
System.String

The property name.

Type Parameters
Name Description
T

The property type.

View Source

RaisePropertyChanged(INotifyPropertyChanged, String)

Declaration
public static void RaisePropertyChanged(this INotifyPropertyChanged instance, string property)
Parameters
Type Name Description
System.ComponentModel.INotifyPropertyChanged instance
System.String property
View Source

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

Declaration
public static void RaisePropertyChanged<T>(this INotifyPropertyChanged instance, Expression<Func<T>> propertyExpression)
Parameters
Type Name Description
System.ComponentModel.INotifyPropertyChanged instance
System.Linq.Expressions.Expression<System.Func<T>> propertyExpression
Type Parameters
Name Description
T
  • View Source
Back to top Generated by DocFX