C# Class Dominator.Windows10.Tools.HostLine

Afficher le fichier Open project: pragmatrix/Dominator Class Usage Examples

Méthodes publiques

Свойство Type Description
Comment_ string
Entry_ HostEntry?
Error_ HostLineError?
Kind HostLineKind
Line string

Méthodes publiques

Méthode Description
FromEntry ( HostEntry entry, string comment_ = null ) : HostLine
HostLine ( HostLineKind kind, HostEntry entry_ = null, string comment_ = null, HostLineError error_ = null, string line_ = null ) : System
Parse ( string line ) : HostLine
SafeParse ( string line ) : HostLine
ToString ( ) : string

Private Methods

Méthode Description
Error ( HostLineError error, string line ) : HostLine
mkLine ( HostEntry entry_, string comment_ ) : string

Method Details

FromEntry() public static méthode

public static FromEntry ( HostEntry entry, string comment_ = null ) : HostLine
entry HostEntry
comment_ string
Résultat HostLine

HostLine() public méthode

public HostLine ( HostLineKind kind, HostEntry entry_ = null, string comment_ = null, HostLineError error_ = null, string line_ = null ) : System
kind HostLineKind
entry_ HostEntry
comment_ string
error_ HostLineError
line_ string
Résultat System

Parse() public static méthode

public static Parse ( string line ) : HostLine
line string
Résultat HostLine

SafeParse() public static méthode

public static SafeParse ( string line ) : HostLine
line string
Résultat HostLine

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Comment_ public_oe property

public string Comment_
Résultat string

Entry_ public_oe property

public HostEntry? Entry_
Résultat HostEntry?

Error_ public_oe property

public HostLineError? Error_
Résultat HostLineError?

Kind public_oe property

public HostLineKind Kind
Résultat HostLineKind

Line public_oe property

public string Line
Résultat string