Show / Hide Table of Contents

Class NotifyPropertyChangedExtensions

Extension method for INotifyPropertyChanged.

Inheritance
object
NotifyPropertyChangedExtensions
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
[SuppressMessage("Style", "IDE0060:Remove unused parameter", Justification = "Breaking changes.")]
public static string GetPropertyName<T>(this INotifyPropertyChanged instance, Expression<Func<T>> property)
Parameters
Type Name Description
INotifyPropertyChanged instance
Expression<Func<T>> property

The property.

Returns
Type Description
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
INotifyPropertyChanged instance
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
INotifyPropertyChanged instance
Expression<Func<T>> propertyExpression
Type Parameters
Name Description
T
  • View Source
Back to top Generated by DocFX