Table of Contents

Method WithCategory

Namespace
Alternet.Common.TypeScript.Types
Assembly
Alternet.Common.TypeScript.v9.dll

WithCategory(DiagnosticCategory)

Creates a new Diagnostic that contains new category.

public Diagnostic WithCategory(DiagnosticCategory value)

Parameters

value DiagnosticCategory

New DiagnosticCategory.

Returns

Diagnostic

Diagnostic contains new value.