IClassificationTypeRegistryService IClassificationTypeRegistryService IClassificationTypeRegistryService IClassificationTypeRegistryService Interface

Definition

The service that maintains the collection of all known classification types.

public interface class IClassificationTypeRegistryService
public interface IClassificationTypeRegistryService
type IClassificationTypeRegistryService = interface
Public Interface IClassificationTypeRegistryService

Remarks

This is a MEF component part, and should be imported as follows:

[Import] IClassificationTypeRegistryService registry = null;  

For more information about classification, see the section "Extending Classification Types and Classification Formats" in Language Service and Editor Extension Points.

Methods

CreateClassificationType(String, IEnumerable<IClassificationType>) CreateClassificationType(String, IEnumerable<IClassificationType>) CreateClassificationType(String, IEnumerable<IClassificationType>) CreateClassificationType(String, IEnumerable<IClassificationType>)

Initializes a new instance of a IClassificationType and adds it to the registry.

CreateTransientClassificationType(IClassificationType[]) CreateTransientClassificationType(IClassificationType[]) CreateTransientClassificationType(IClassificationType[]) CreateTransientClassificationType(IClassificationType[])

Creates an IClassificationType that persists only for the duration of this session.

CreateTransientClassificationType(IEnumerable<IClassificationType>) CreateTransientClassificationType(IEnumerable<IClassificationType>) CreateTransientClassificationType(IEnumerable<IClassificationType>) CreateTransientClassificationType(IEnumerable<IClassificationType>)

Creates an IClassificationType that persists only for the duration of this session..

GetClassificationType(String) GetClassificationType(String) GetClassificationType(String) GetClassificationType(String)

Gets the IClassificationType object identified by the specified type.

Applies to