Table of Contents

Class StringWrittenEventArgs

Namespace
Loehnert.Lisrt.Scripting.Python.Helper
Assembly
Loehnert.Lisrt.Scripting.dll

Represents event data for a string, written by EventRaisingStreamWriter.

public class StringWrittenEventArgs : EventArgs
Inheritance
StringWrittenEventArgs
Inherited Members

Constructors

StringWrittenEventArgs(StringWrittenAction)

Initializes a new instance of the StringWrittenEventArgs class.

public StringWrittenEventArgs(StringWrittenAction action)

Parameters

action StringWrittenAction

Must be Reset.

Exceptions

ArgumentException

Thrown when action is not Reset.

StringWrittenEventArgs(StringWrittenAction, string)

Initializes a new instance of the StringWrittenEventArgs class.

public StringWrittenEventArgs(StringWrittenAction action, string value)

Parameters

action StringWrittenAction

Must be Add.

value string

Written string.

Exceptions

ArgumentException

Thrown when action is not Add.

Properties

Action

Gets the Action.

public StringWrittenAction Action { get; }

Property Value

StringWrittenAction

Value

Gets the value.

public string Value { get; }

Property Value

string