C# 클래스 Dominator.Windows10.Tools.HostLine

파일 보기 프로젝트 열기: pragmatrix/Dominator 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Comment_ string
Entry_ HostEntry?
Error_ HostLineError?
Kind HostLineKind
Line string

공개 메소드들

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

비공개 메소드들

메소드 설명
Error ( HostLineError error, string line ) : HostLine
mkLine ( HostEntry entry_, string comment_ ) : string

메소드 상세

FromEntry() 공개 정적인 메소드

public static FromEntry ( HostEntry entry, string comment_ = null ) : HostLine
entry HostEntry
comment_ string
리턴 HostLine

HostLine() 공개 메소드

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
리턴 System

Parse() 공개 정적인 메소드

public static Parse ( string line ) : HostLine
line string
리턴 HostLine

SafeParse() 공개 정적인 메소드

public static SafeParse ( string line ) : HostLine
line string
리턴 HostLine

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Comment_ 공개적으로 프로퍼티

public string Comment_
리턴 string

Entry_ 공개적으로 프로퍼티

public HostEntry? Entry_
리턴 HostEntry?

Error_ 공개적으로 프로퍼티

public HostLineError? Error_
리턴 HostLineError?

Kind 공개적으로 프로퍼티

public HostLineKind Kind
리턴 HostLineKind

Line 공개적으로 프로퍼티

public string Line
리턴 string