C# 클래스 EddiNetLogMonitor.LogMonitor

파일 보기 프로젝트 열기: cmdrmcdonald/EliteDangerousDataProvider

공개 프로퍼티들

프로퍼티 타입 설명
Callback Action
Directory string
Filter System.Text.RegularExpressions.Regex

공개 메소드들

메소드 설명
LogMonitor ( string filter ) : System
LogMonitor ( string directory, string filter, Action callback ) : System
start ( ) : void

Monitor the netlog for changes, running a callback when the file changes

stop ( ) : void

비공개 메소드들

메소드 설명
FindLatestFile ( string path, Regex filter = null ) : FileInfo

Find the latest file in a given directory matching a given expression, or null if no such file exists

메소드 상세

LogMonitor() 공개 메소드

public LogMonitor ( string filter ) : System
filter string
리턴 System

LogMonitor() 공개 메소드

public LogMonitor ( string directory, string filter, Action callback ) : System
directory string
filter string
callback Action
리턴 System

start() 공개 메소드

Monitor the netlog for changes, running a callback when the file changes
public start ( ) : void
리턴 void

stop() 공개 메소드

public stop ( ) : void
리턴 void

프로퍼티 상세

Callback 공개적으로 프로퍼티

public Action Callback
리턴 Action

Directory 공개적으로 프로퍼티

public string Directory
리턴 string

Filter 공개적으로 프로퍼티

public Regex,System.Text.RegularExpressions Filter
리턴 System.Text.RegularExpressions.Regex