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
파일 보기 프로젝트 열기: zencoders/sambatyon

공개 메소드들

메소드 설명
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