C# 클래스 Microsoft.IronStudio.Core.DlrClassifierProvider

Implements classification of text by using a ScriptEngine which supports the TokenCategorizer service. Languages should subclass this type and override the Engine property. They should then export the provider using MEF indicating the content type which it is applicable to. Languages can also export this under the the content type "DlrCode" and can then override the ContentType property to indicate a specific content type which they provide tokenization for. This specific content type should be a sub-type of DlrCode. This enables the languages to dynamicly register their own content type but statically export the provider.
상속: IDlrClassifierProvider
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FillCategoryMap IClassificationType>.Dictionary

공개 메소드들

메소드 설명
GetClassifier ( ITextBuffer buffer ) : IClassifier

비공개 메소드들

메소드 설명
FillCategoryMap ( IClassificationTypeRegistryService registry ) : IClassificationType>.Dictionary

메소드 상세

GetClassifier() 공개 메소드

public GetClassifier ( ITextBuffer buffer ) : IClassifier
buffer ITextBuffer
리턴 IClassifier