C# Class AppKit.TextKit.Formatter.CSharpDescriptor

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

Méthodes publiques

Méthode 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 méthode

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

Define() public méthode

Define this instance.
public Define ( ) : void
Résultat void

FormatForPreview() public méthode

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