C# Class Hpdi.Vss2Git.Worker

Base class for queued workers in the application.
显示文件 Open project: abevoelker/vss2git

Protected Properties

Property Type Description
logger Logger
workQueue WorkQueue

Public Methods

Method Description
Worker ( WorkQueue workQueue, Logger logger ) : System

Protected Methods

Method Description
LogException ( Exception exception ) : string
LogException ( Exception exception, string message ) : void
LogStatus ( object work, string status ) : void
ReportError ( string message ) : void

Method Details

LogException() protected method

protected LogException ( Exception exception ) : string
exception System.Exception
return string

LogException() protected method

protected LogException ( Exception exception, string message ) : void
exception System.Exception
message string
return void

LogStatus() protected method

protected LogStatus ( object work, string status ) : void
work object
status string
return void

ReportError() protected method

protected ReportError ( string message ) : void
message string
return void

Worker() public method

public Worker ( WorkQueue workQueue, Logger logger ) : System
workQueue WorkQueue
logger Logger
return System

Property Details

logger protected_oe property

protected Logger logger
return Logger

workQueue protected_oe property

protected WorkQueue,Hpdi.Vss2Git workQueue
return WorkQueue