C# Class RIM.VSNDK_Package.EditorFactoryNotifyForProjectAttribute

Inheritance: Microsoft.VisualStudio.Shell.RegistrationAttribute
Datei anzeigen Open project: blackberry/VSPlugin

Private Properties

Property Type Description

Public Methods

Method Description
EditorFactoryNotifyForProjectAttribute ( object projectType, string fileExtension, object factoryType ) : System

Creates a new ProvideEditorFactoryNotifyForProject attribute to register a file extension with a project.

Register ( RegistrationContext context ) : void

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. It also contains other information such as the type being registered and path information.

Unregister ( RegistrationContext context ) : void

Unregister this file extension.

Method Details

EditorFactoryNotifyForProjectAttribute() public method

Creates a new ProvideEditorFactoryNotifyForProject attribute to register a file extension with a project.
public EditorFactoryNotifyForProjectAttribute ( object projectType, string fileExtension, object factoryType ) : System
projectType object The type of project; can be a Type, a GUID or a string representation of a GUID
fileExtension string The file extension the EditorFactoryNotify wants to handle
factoryType object The type of factory; can be a Type, a GUID or a string representation of a GUID
return System

Register() public method

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. It also contains other information such as the type being registered and path information.
public Register ( RegistrationContext context ) : void
context RegistrationContext Given context to register in
return void

Unregister() public method

Unregister this file extension.
public Unregister ( RegistrationContext context ) : void
context RegistrationContext Given context to unregister from
return void