C# Class MichaelReukauff.Protobuf.ProtobufPackage

Inheritance: Microsoft.VisualStudio.Shell.Package
Mostrar archivo Open project: mreu/ProtobufLanguageService

Public Methods

Method Description
ProtobufPackage ( ) : System

Initializes a new instance of the ProtobufPackage class. Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.

Protected Methods

Method Description
Initialize ( ) : void

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initialization code that rely on services provided by VisualStudio.

Private Methods

Method Description
OnDocumentSaved ( Document document ) : void

Event handler when a decument was saved.

SaveProtoWithoutBom ( string file, Document doc ) : void

Save the file without a bom.

SetupEvents ( ) : void

Set up the events we wnt to handle.

Method Details

Initialize() protected method

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initialization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
return void

ProtobufPackage() public method

Initializes a new instance of the ProtobufPackage class. Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.
public ProtobufPackage ( ) : System
return System