Class LoggableTask

This class contains properties that are needed for logging.

Inheritance
object
LoggableTask
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    public abstract class LoggableTask : ILoggableTask

Constructors

LoggableTask()

Declaration
    public LoggableTask()

Properties

DisableLogging

If set to true, the component or task won't produce any log output.

Declaration
    public virtual bool DisableLogging { get; set; }
Property Value
TypeDescription
bool

TaskHash

Creates a unique hash value to identify the task or component.

Declaration
    public virtual string TaskHash { get; set; }
Property Value
TypeDescription
string

TaskName

A name to identify the task or component. Every component or task comes with a default name that can be overwritten.

Declaration
    public virtual string TaskName { get; set; }
Property Value
TypeDescription
string

TaskType

A type description of the task or component. This is usually the class name.

Declaration
    public virtual string TaskType { get; set; }
Property Value
TypeDescription
string

Methods

CopyLogTaskProperties(ILoggableTask)

Copies the relevant task properties from the current loggable task to another loggable task.

Declaration
    public void CopyLogTaskProperties(ILoggableTask otherTask)
Parameters
TypeNameDescription
ILoggableTaskotherTask

The target task that retrieve a copy from the log task properties

Implements