Table of Contents

Class FileLinePipingKit

Namespace
Hi.Common.FileLines
Assembly
HiGeom.dll

Perform lines piping to a file by another thread.

public class FileLinePipingKit
Inheritance
FileLinePipingKit
Inherited Members
Extension Methods

Constructors

FileLinePipingKit(string)

Initializes a new instance of the FileLinePipingKit class with the specified file path.

public FileLinePipingKit(string file)

Parameters

file string

The file path where the lines will be written.

Properties

ExceptionAction

Gets or sets the action to execute when an exception occurs.

public Action<Exception> ExceptionAction { get; set; }

Property Value

Action<Exception>

File

Gets the file path where the lines are being written.

public string File { get; }

Property Value

string

Task

Gets the task that represents the asynchronous file writing operation.

public Task Task { get; }

Property Value

Task

Methods

Finish()

Completes the writing operation.

public void Finish()

FinishAndWait()

Completes the writing operation and waits for it to finish.

public void FinishAndWait()

WriteLine(string)

Writes a line to the file.

public void WriteLine(string line)

Parameters

line string

The line to write.