In This Article

DotNetClassificationTypeProvider Class

Represents a provider of IClassificationType objects for a .NET language.

public class DotNetClassificationTypeProvider : ClassificationTypeProviderBase, IDotNetClassificationTypeProvider
Inheritance:
object ClassificationTypeProviderBase object
Implements:
IDotNetClassificationTypeProvider

Remarks

This type was generated by the Actipro Language Designer tool v26.1.0 (http://www.actiprosoftware.com).

Constructors

DotNetClassificationTypeProvider()

Initializes an instance of the class.

public DotNetClassificationTypeProvider()

DotNetClassificationTypeProvider(IHighlightingStyleRegistry?)

Initializes an instance of the class.

public DotNetClassificationTypeProvider(IHighlightingStyleRegistry? targetRegistry)
Parameter Type Description
targetRegistry IHighlightingStyleRegistry

The IHighlightingStyleRegistry to use when registering classification types and highlighting styles.

Properties

CSharpVerbatimString

The CSharpVerbatimString classification type.

public IClassificationType CSharpVerbatimString { get; }

Property Value

IClassificationType

Comment

The Comment classification type.

public IClassificationType Comment { get; }

Property Value

IClassificationType

Identifier

The Identifier classification type.

public IClassificationType Identifier { get; }

Property Value

IClassificationType

Keyword

The Keyword classification type.

public IClassificationType Keyword { get; }

Property Value

IClassificationType

Number

The Number classification type.

public IClassificationType Number { get; }

Property Value

IClassificationType

Operator

The Operator classification type.

public IClassificationType Operator { get; }

Property Value

IClassificationType

PreprocessorKeyword

The PreprocessorKeyword classification type.

public IClassificationType PreprocessorKeyword { get; }

Property Value

IClassificationType

Punctuation

The Punctuation classification type.

public IClassificationType Punctuation { get; }

Property Value

IClassificationType

String

The String classification type.

public IClassificationType String { get; }

Property Value

IClassificationType

VBXmlLiteral

The VBXmlLiteral classification type.

public IClassificationType VBXmlLiteral { get; }

Property Value

IClassificationType

XmlDocumentationComment

The XmlDocumentationComment classification type.

public IClassificationType XmlDocumentationComment { get; }

Property Value

IClassificationType

XmlDocumentationTag

The XmlDocumentationTag classification type.

public IClassificationType XmlDocumentationTag { get; }

Property Value

IClassificationType

Methods

CreateDarkColorPalette()

Creates a color palette of default colors for use with a dark theme.

protected override IHighlightingStyleColorPalette CreateDarkColorPalette()

Returns

IHighlightingStyleColorPalette:

An IHighlightingStyleColorPalette instance representing the dark color palette.

Remarks

The default implementation of this method returns an empty DarkHighlightingStyleColorPalette instance, with the intention of the colors in the light color palette being adapted to dark colors automatically. Override this method to use specific dark colors instead of adapted colors.

CreateLightColorPalette()

Creates a color palette of default colors for use with a light theme.

protected override IHighlightingStyleColorPalette CreateLightColorPalette()

Returns

IHighlightingStyleColorPalette:

An IHighlightingStyleColorPalette instance representing the light color palette.

RegisterAll()

Registers all classification types and highlighting styles with the IHighlightingStyleRegistry used by this class.

public override IEnumerable<IClassificationType> RegisterAll()

Returns

IEnumerable<IClassificationType>:

The collection of IClassificationType objects that were registered.

Inherited Members

Extension Methods