Store Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Store(Type[]) |
Creates an instance of the Store class. |
Store(IServiceProvider, Type[]) |
Creates an instance of the Store class. |
Store(IServiceProvider, Dictionary<Object,Object>, Type[]) |
Creates an instance of the Store class which delegates IServiceProvider implementation to the given serviceProvider. |
Store(Type[])
Creates an instance of the Store class.
public:
Store(... cli::array <Type ^> ^ domainModelTypes);
public Store (params Type[] domainModelTypes);
new Microsoft.VisualStudio.Modeling.Store : Type[] -> Microsoft.VisualStudio.Modeling.Store
Public Sub New (ParamArray domainModelTypes As Type())
Parameters
- domainModelTypes
- Type[]
List of domain models to be loaded.
Applies to
Store(IServiceProvider, Type[])
Creates an instance of the Store class.
public:
Store(IServiceProvider ^ serviceProvider, ... cli::array <Type ^> ^ domainModelTypes);
public Store (IServiceProvider serviceProvider, params Type[] domainModelTypes);
new Microsoft.VisualStudio.Modeling.Store : IServiceProvider * Type[] -> Microsoft.VisualStudio.Modeling.Store
Public Sub New (serviceProvider As IServiceProvider, ParamArray domainModelTypes As Type())
Parameters
- serviceProvider
- IServiceProvider
- domainModelTypes
- Type[]
List of domain models to be loaded.
Applies to
Store(IServiceProvider, Dictionary<Object,Object>, Type[])
Creates an instance of the Store class which delegates IServiceProvider implementation to the given serviceProvider.
public:
Store(IServiceProvider ^ serviceProvider, System::Collections::Generic::Dictionary<System::Object ^, System::Object ^> ^ properties, ... cli::array <Type ^> ^ domainModelTypes);
public Store (IServiceProvider serviceProvider, System.Collections.Generic.Dictionary<object,object> properties, params Type[] domainModelTypes);
new Microsoft.VisualStudio.Modeling.Store : IServiceProvider * System.Collections.Generic.Dictionary<obj, obj> * Type[] -> Microsoft.VisualStudio.Modeling.Store
Public Sub New (serviceProvider As IServiceProvider, properties As Dictionary(Of Object, Object), ParamArray domainModelTypes As Type())
Parameters
- serviceProvider
- IServiceProvider
the service provider delegated to by this Store's IServiceProvider implementation.
- properties
- Dictionary<Object,Object>
The Dictionary of properties with which Store's PropertyBag will be initialized.
- domainModelTypes
- Type[]
List of domain models to be loaded.