BaseCodeGeneratorWithSite.GetService Method (Type)

 

method to get a service by its Type

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

protected object GetService(
	Type serviceType
)

Parameters

serviceType
Type: System.Type

Type of service to retrieve

Return Value

Type: System.Object

an object that implements the requested service