Here are the examples of the csharp api ReactiveMarbles.PropertyChanged.Tests.Moqs.BaseTestClass.OnPropertyChanged(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : BaseTestClass.cs
with MIT License
from reactivemarbles
with MIT License
from reactivemarbles
protected void RaiseAndSetIfChanged<T>(ref T fieldValue, T value, [CallerMemberName] string propertyName = null)
{
if (EqualityComparer<T>.Default.Equals(fieldValue, value))
{
return;
}
fieldValue = value;
OnPropertyChanged(propertyName);
}