Method | Description | |
---|---|---|
GetMappedModelTypes ( string semanticTypeName ) : IEnumerable |
Gets the Model Types mapped to a given semantic type name.
|
|
GetSemanticPropertyNames ( |
Gets the semantic property names for a given Model Type and property name.
|
|
GetSemanticTypes ( |
Gets the semantic types (and prefix mappings) for a given Model Type.
|
|
GetViewModelType ( |
Get the View Model Type for a given View.
|
|
RegisterViewModel ( |
Registers a View Model and associated View.
|
|
RegisterViewModel ( |
Registers a View Model mapping by compiling a given view file and obtaining its model type.
|
Method | Description | |
---|---|---|
ExtractSemanticInfo ( |
||
GetSemanticInfo ( |
||
RegisterModelType ( |
public static GetMappedModelTypes ( string semanticTypeName ) : IEnumerable |
||
semanticTypeName | string | The semantic type name qualified with vocabulary ID. |
return | IEnumerable |
public static GetSemanticPropertyNames ( |
||
modelType | The Model Type. | |
propertyName | string | The property name. |
return | string[] |
public static GetSemanticTypes ( |
||
modelType | The Model Type. | |
prefixMappings | string>.IDictionary | The prefix mappings for the prefixes used by the types. |
return | string[] |
public static GetViewModelType ( |
||
viewData | The data for the View. | |
return |
public static RegisterViewModel ( |
||
viewData | The data for the View to register or |
|
modelType | The model Type used by the View. | |
return | void |
public static RegisterViewModel ( |
||
viewData | The data for the View to register. | |
viewVirtualPath | string | The (virtual) path to the View file. |
return | void |