Creates a new IKerbalDataRepo T instance
Namespace: KerbalDataAssembly: KerbalData (in KerbalData.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public IKerbalDataRepo<T> Create<T>( IDictionary<string, Object> parameters = null, string name = null ) where T : class, new(), IStorable
Parameters
- parameters (Optional)
- Type:
System.Collections.Generic IDictionary
String,
Object
configuration parameters required by the repository. See the documentation for the specific repository type in use for required and optional parameters
- name (Optional)
- Type:
System String
name of repository to lookup
Type Parameters
- T
- model type handled by the repo
Return Value
properly configured [!:IkerbalDataRepo<T>] instanceSee Also