C# Class Microsoft.VisualStudio.Project.OleServiceProvider

Inheritance: Microsoft.VisualStudio.OLE.Interop.IServiceProvider, IDisposable
Mostra file Open project: tunnelvisionlabs/MPFProj10

Public Methods

Method Description
Dispose ( ) : void

The IDispose interface Dispose method for disposing the object deterministically.

OleServiceProvider ( ) : System
QueryService ( System.Guid &guidService, System.Guid &riid, IntPtr &ppvObject ) : int
RemoveService ( Type serviceType ) : void

Protected Methods

Method Description
AddService ( ServiceData data ) : void
Dispose ( bool disposing ) : void

The method that does the cleanup.

Private Methods

Method Description
AddService ( Type serviceType, object>.Func serviceFactory, bool shouldDisposeServiceInstance ) : void
AddService ( Type serviceType, object serviceInstance, bool shouldDisposeServiceInstance ) : void

Method Details

AddService() protected method

protected AddService ( ServiceData data ) : void
data ServiceData
return void

Dispose() public method

The IDispose interface Dispose method for disposing the object deterministically.
public Dispose ( ) : void
return void

Dispose() protected method

The method that does the cleanup.
protected Dispose ( bool disposing ) : void
disposing bool
return void

OleServiceProvider() public method

public OleServiceProvider ( ) : System
return System

QueryService() public method

public QueryService ( System.Guid &guidService, System.Guid &riid, IntPtr &ppvObject ) : int
guidService System.Guid
riid System.Guid
ppvObject System.IntPtr
return int

RemoveService() public method

public RemoveService ( Type serviceType ) : void
serviceType System.Type
return void