Condividi tramite


Store Constructor (IServiceProvider, Dictionary<Object, Object>, array<Type )

Creates an instance of the Store class which delegates IServiceProvider implementation to the given serviceProvider.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    serviceProvider As IServiceProvider, _
    properties As Dictionary(Of Object, Object), _
    ParamArray domainModelTypes As Type() _
)
public Store(
    IServiceProvider serviceProvider,
    Dictionary<Object, Object> properties,
    params Type[] domainModelTypes
)
public:
Store(
    IServiceProvider^ serviceProvider, 
    Dictionary<Object^, Object^>^ properties, 
    ... array<Type^>^ domainModelTypes
)
new : 
        serviceProvider:IServiceProvider * 
        properties:Dictionary<Object, Object> * 
        domainModelTypes:Type[] -> Store
public function Store(
    serviceProvider : IServiceProvider, 
    properties : Dictionary<Object, Object>, 
    ... domainModelTypes : Type[]
)

Parameters

  • serviceProvider
    Type: System.IServiceProvider

    the service provider delegated to by this Store's IServiceProvider implementation.

  • domainModelTypes
    Type: array<System.Type[]

    List of domain models to be loaded.

.NET Framework Security

See Also

Reference

Store Class

Store Overload

Microsoft.VisualStudio.Modeling Namespace