C# Класс wpf_player.PortValidationRule

Validator used in peer configurator. This check if port is in uses or not and if it is a valid port or not.
Наследование: System.Windows.Controls.ValidationRule
Показать файл Открыть проект

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

Метод Описание
PortValidationRule ( ) : System

Default constructor

Validate ( object value, System cultureInfo ) : System.Windows.Controls.ValidationResult

Validates the port value. It checks if the port number is valid (it is in the range [1024,65535]) and if it's already in use (if this check is enabled).

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

PortValidationRule() публичный Метод

Default constructor
public PortValidationRule ( ) : System
Результат System

Validate() публичный Метод

Validates the port value. It checks if the port number is valid (it is in the range [1024,65535]) and if it's already in use (if this check is enabled).
public Validate ( object value, System cultureInfo ) : System.Windows.Controls.ValidationResult
value object Value to validate
cultureInfo System Unused Param
Результат System.Windows.Controls.ValidationResult