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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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.
- properties
Type: System.Collections.Generic.Dictionary<Object, Object>
The Dictionary of properties with which Store's PropertyBag will be initialized.
- domainModelTypes
Type: array<System.Type[]
List of domain models to be loaded.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.