Share via


CreateServiceCollection Method

Creates an instance of the service collection to be returned from the Services property. The default implementation creates a ServiceCollection that supports delayed activation of design editor managers through the declaration of a SubscribeService attribute on the design editor manager.

Namespace:  Microsoft.Data.Tools.Design.Core.Context
Assembly:  Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)

Syntax

'Declaration
Protected Overridable Function CreateServiceCollection As ServiceCollection
'Usage
Dim returnValue As ServiceCollection

returnValue = Me.CreateServiceCollection()
protected virtual ServiceCollection CreateServiceCollection()
protected:
virtual ServiceCollection^ CreateServiceCollection()
abstract CreateServiceCollection : unit -> ServiceCollection 
override CreateServiceCollection : unit -> ServiceCollection 
protected function CreateServiceCollection() : ServiceCollection

Return Value

Type: Microsoft.Data.Tools.Design.Core.Context..::..ServiceCollection
Returns an implemetation of the ServiceCollection class.

See Also

Reference

EditingContext Class

Microsoft.Data.Tools.Design.Core.Context Namespace