C# Class AppKit.TextKit.Formatter.LanguageClosure

The AppKit.TextKit.Formatter.LanguageClosure class holds information about a closure such as (), [], "" or '' that can be used to define a section of text in a AppKit.TextKit.Formatter.LanguageDescriptor. The Language Closure is used by auto complete in a AppKit.TextKit.Formatter.SourceTextView.
Inheritance: NSObject
Datei anzeigen Open project: xamarin/mac-samples

Public Methods

Method Description
LanguageClosure ( ) : System

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

LanguageClosure ( char character ) : System

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

LanguageClosure ( char startingCharacter, char endingCharacter ) : System

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

Method Details

LanguageClosure() public method

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

LanguageClosure() public method

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageClosure class.
public LanguageClosure ( char character ) : System
character char The character that both starts and ends this closure.
return System

LanguageClosure() public method

Initializes a new instance of the AppKit.TextKit.Formatter.LanguageClosure class.
public LanguageClosure ( char startingCharacter, char endingCharacter ) : System
startingCharacter char The character that starts the closure.
endingCharacter char The character that ends the closure.
return System