cohtml.Net.ModelData
Information about the data binding model.
Inherits from IDisposable
Inherited by cohtml.Net.ArrayModelData
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual bool | BindModel(IntPtr binderPtr) Binds the object model to the Cohtml Binder. |
| void | SetTypeInfo(ref ObjectInfo objectInfo) Sets up the ObjectInfo based on the model’s information. |
| ElementType | DotNetTypeToCohtmlType(string typeName) Convert .Net type name to Cohtml type name |
| void | Dispose() |
Protected Functions
Section titled “Protected Functions”| Name | |
|---|---|
| virtual void | Dispose(bool disposing) |
Public Functions Documentation
Section titled “Public Functions Documentation”function BindModel
Section titled “function BindModel”virtual bool BindModel( IntPtr binderPtr)Binds the object model to the Cohtml Binder.
Parameters:
- binderPtr A pointer to the binder where the object should be registered.
Return: True if the model is successfully registered; otherwise, False.
Reimplemented by: cohtml.Net.ArrayModelData.BindModel
function SetTypeInfo
Section titled “function SetTypeInfo”void SetTypeInfo( ref ObjectInfo objectInfo)Sets up the ObjectInfo based on the model’s information.
Parameters:
- objectInfo The ObjectInfo instance to be set up.
function DotNetTypeToCohtmlType
Section titled “function DotNetTypeToCohtmlType”ElementType DotNetTypeToCohtmlType( string typeName)Convert .Net type name to Cohtml type name
Parameters:
- typeName DotNet type name
Return: Cohtml type name
function Dispose
Section titled “function Dispose”void Dispose()Protected Functions Documentation
Section titled “Protected Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose( bool disposing)Reimplemented by: cohtml.Net.ArrayModelData.Dispose
© 2026 Coherent Labs. All rights reserved.