cohtml.Net.ArrayModelData
Inherits from cohtml.Net.ModelData, IDisposable
Inherited by cohtml.Net.ListModelData
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| void | SetTypeInfo(ref ArrayInfo arrayInfo) Updates the ArrayInfo object with the model settings. |
| virtual override bool | BindModel(IntPtr binderPtr) Bind the model of the array by reference with the registered key. |
Protected Functions
Section titled “Protected Functions”| Name | |
|---|---|
| void | OnBinderCallbackStatic(IntPtr binderPtr, IntPtr arrayModelKey, UIntPtr index) |
| void | OnReaderCallbackStatic(IntPtr binderPtr, IntPtr arrayModelKey, UIntPtr index) |
| ulong | OnGetLengthCallbackStatic(IntPtr arrayModelKey) |
| IntPtr | OnGetElementCallbackStatic(IntPtr arrayModelKey, UIntPtr index) |
| virtual override void | Dispose(bool disposing) |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| readonly Dictionary< IntPtr, WeakReference< ArrayModelData > > | m_Instances |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from cohtml.Net.ModelData
| Name | |
|---|---|
| ElementType | DotNetTypeToCohtmlType(string typeName) Convert .Net type name to Cohtml type name |
Public Functions Documentation
Section titled “Public Functions Documentation”function SetTypeInfo
Section titled “function SetTypeInfo”void SetTypeInfo( ref ArrayInfo arrayInfo)Updates the ArrayInfo object with the model settings.
Parameters:
- arrayInfo The object to be updated.
function BindModel
Section titled “function BindModel”virtual override bool BindModel( IntPtr binderPtr)Bind the model of the array by reference with the registered key.
Parameters:
- binderPtr A pointer to the binder where the object is registered.
Return: True if the model is successfully registered, otherwise False.
Reimplements: cohtml.Net.ModelData.BindModel
Protected Functions Documentation
Section titled “Protected Functions Documentation”function OnBinderCallbackStatic
Section titled “function OnBinderCallbackStatic”static void OnBinderCallbackStatic( IntPtr binderPtr, IntPtr arrayModelKey, UIntPtr index)function OnReaderCallbackStatic
Section titled “function OnReaderCallbackStatic”static void OnReaderCallbackStatic( IntPtr binderPtr, IntPtr arrayModelKey, UIntPtr index)function OnGetLengthCallbackStatic
Section titled “function OnGetLengthCallbackStatic”static ulong OnGetLengthCallbackStatic( IntPtr arrayModelKey)function OnGetElementCallbackStatic
Section titled “function OnGetElementCallbackStatic”static IntPtr OnGetElementCallbackStatic( IntPtr arrayModelKey, UIntPtr index)function Dispose
Section titled “function Dispose”virtual override void Dispose( bool disposing)Reimplements: cohtml.Net.ModelData.Dispose
Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable m_Instances
Section titled “variable m_Instances”static readonly Dictionary< IntPtr, WeakReference< ArrayModelData > > m_Instances = new Dictionary<IntPtr, WeakReference<ArrayModelData>>();© 2026 Coherent Labs. All rights reserved.