C# Class AppKit.TextKit.Formatter.CSharpDescriptor

Defines how C# should be colorized using a AppKit.TextKit.Formatter.LanguageFormatter.
Inheritance: LanguageDescriptor
Datei anzeigen Open project: xamarin/mac-samples

Public Methods

Method Description
CSharpDescriptor ( ) : System

Initializes a new instance of the AppKit.TextKit.Formatter.CSharpDescriptor class.

Define ( ) : void

Define this instance.

FormatForPreview ( string text ) : string

Formats the passed in string of text for previewing.

Method Details

CSharpDescriptor() public method

Initializes a new instance of the AppKit.TextKit.Formatter.CSharpDescriptor class.
public CSharpDescriptor ( ) : System
return System

Define() public method

Define this instance.
public Define ( ) : void
return void

FormatForPreview() public method

Formats the passed in string of text for previewing.
public FormatForPreview ( string text ) : string
text string Text.
return string