C# Класс Channel9Downloader.Test.Utils.Assertion

This class contains additional asertion methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
PropertyChangedIsCalled ( INotifyPropertyChanged observableObject, string propertyName, object value ) : void

Asserts that property changed is called for the specified property when the value of the property is set to the specified value.

PropertyChangedIsNotCalled ( INotifyPropertyChanged observableObject, string propertyName, object value ) : void

Asserts that property changed is not called for the specified property when the value of the property is set to the specified value.

Приватные методы

Метод Описание
PropertyChangedIsCalled ( INotifyPropertyChanged observableObject, string propertyName, object value, bool isRaised ) : void

Asserts that property changed is called for the specified property when the value of the property is set to the specified value.

Описание методов

PropertyChangedIsCalled() публичный статический Метод

Asserts that property changed is called for the specified property when the value of the property is set to the specified value.
public static PropertyChangedIsCalled ( INotifyPropertyChanged observableObject, string propertyName, object value ) : void
observableObject INotifyPropertyChanged The object that will be observed.
propertyName string The name of the property that will be observed.
value object The value to which the property should be set.
Результат void

PropertyChangedIsNotCalled() публичный статический Метод

Asserts that property changed is not called for the specified property when the value of the property is set to the specified value.
public static PropertyChangedIsNotCalled ( INotifyPropertyChanged observableObject, string propertyName, object value ) : void
observableObject INotifyPropertyChanged The object that will be observed.
propertyName string The name of the property that will be observed.
value object The value to which the property should be set.
Результат void