C# Class Spark.DiagnosticsExtensions

Mostra file Open project: spark-shading-language/spark

Public Methods

Method Description
Add ( this sink, Severity severity, SourceRange range, string message ) : void
Dump ( this source, IDiagnosticsWriter writer ) : int
Dump ( this source, System writer ) : int
Dump ( this diagnostic, IDiagnosticsWriter writer ) : void
Dump ( this diagnostic, System writer ) : void
Flush ( this collection, System writer ) : int
InsertSink ( this sink ) : IDiagnosticsSink

Method Details

Add() public static method

public static Add ( this sink, Severity severity, SourceRange range, string message ) : void
sink this
severity Severity
range SourceRange
message string
return void

Dump() public static method

public static Dump ( this source, IDiagnosticsWriter writer ) : int
source this
writer IDiagnosticsWriter
return int

Dump() public static method

public static Dump ( this source, System writer ) : int
source this
writer System
return int

Dump() public static method

public static Dump ( this diagnostic, IDiagnosticsWriter writer ) : void
diagnostic this
writer IDiagnosticsWriter
return void

Dump() public static method

public static Dump ( this diagnostic, System writer ) : void
diagnostic this
writer System
return void

Flush() public static method

public static Flush ( this collection, System writer ) : int
collection this
writer System
return int

InsertSink() public static method

public static InsertSink ( this sink ) : IDiagnosticsSink
sink this
return IDiagnosticsSink