Constructor for a model template
Namespace: AppCan.Core.ApplicationAssembly: AppCan.Core (in AppCan.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public ModelTemplate( Type modelType, string fileExtenstion, string filePattern, ISerializerAdapter serializerAdapter, bool isDefaultTemplate, Type startupWindowType, string startupUri, string contextName ) |
Visual Basic |
---|
Public Sub New ( _ modelType As Type, _ fileExtenstion As String, _ filePattern As String, _ serializerAdapter As ISerializerAdapter, _ isDefaultTemplate As Boolean, _ startupWindowType As Type, _ startupUri As String, _ contextName As String _ ) |
Visual C++ |
---|
public: ModelTemplate( Type^ modelType, String^ fileExtenstion, String^ filePattern, ISerializerAdapter^ serializerAdapter, bool isDefaultTemplate, Type^ startupWindowType, String^ startupUri, String^ contextName ) |
Parameters
- modelType
- Type: System..::..Type
The type for the Model class
- fileExtenstion
- Type: System..::..String
The file extension to associate
- filePattern
- Type: System..::..String
A default file pattern to use
- serializerAdapter
- Type: AppCan.Core.Application..::..ISerializerAdapter
The serialization adapter to use
- isDefaultTemplate
- Type: System..::..Boolean
true if the default template, false otherwise... there should be only one default template
- startupWindowType
- Type: System..::..Type
null
- startupUri
- Type: System..::..String
null
- contextName
- Type: System..::..String
The context name that contains the shell IViewContainer to start