C# Класс Renci.SshNet.ForwardedPortStatus

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Started ForwardedPortStatus
Starting ForwardedPortStatus
Stopped ForwardedPortStatus
Stopping ForwardedPortStatus

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

Метод Описание
Equals ( object other ) : bool
GetHashCode ( ) : int
ToStarting ( ForwardedPortStatus &status ) : bool

Returns a value indicating whether status has been changed to Starting.

While a transition from Started to Starting is not possible, this method will return false for any such attempts. This is related to concurrency.

ToStopping ( ForwardedPortStatus &status ) : bool

Returns a value indicating whether status has been changed to Stopping.

While a transition from Stopped to Stopping is not possible, this method will return false for any such attempts. This is related to concurrency.

ToString ( ) : string
operator ( ) : bool

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

Метод Описание
ForwardedPortStatus ( int value, string name ) : System

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

Equals() публичный метод

public Equals ( object other ) : bool
other object
Результат bool

GetHashCode() публичный метод

public GetHashCode ( ) : int
Результат int

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

Returns a value indicating whether status has been changed to Starting.
While a transition from Started to Starting is not possible, this method will return false for any such attempts. This is related to concurrency.
Cannot transition to .
public static ToStarting ( ForwardedPortStatus &status ) : bool
status ForwardedPortStatus The status to transition from.
Результат bool

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

Returns a value indicating whether status has been changed to Stopping.
While a transition from Stopped to Stopping is not possible, this method will return false for any such attempts. This is related to concurrency.
Cannot transition to .
public static ToStopping ( ForwardedPortStatus &status ) : bool
status ForwardedPortStatus The status to transition from.
Результат bool

ToString() публичный метод

public ToString ( ) : string
Результат string

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

public static operator ( ) : bool
Результат bool

Описание свойств

Started публичное статическое свойство

public static ForwardedPortStatus,Renci.SshNet Started
Результат ForwardedPortStatus

Starting публичное статическое свойство

public static ForwardedPortStatus,Renci.SshNet Starting
Результат ForwardedPortStatus

Stopped публичное статическое свойство

public static ForwardedPortStatus,Renci.SshNet Stopped
Результат ForwardedPortStatus

Stopping публичное статическое свойство

public static ForwardedPortStatus,Renci.SshNet Stopping
Результат ForwardedPortStatus