IModelInitializationProvider.InitializeFields method
Namespace: NextDesign.Core.EditingCapabilities
Description
Initialize the model.
Be careful not to become a performance bottleneck when mounting. In the implementation of this method, if a model is added to the field, it corresponds to the added model. If the provider is registered, IModelInitializationProvider.InitializeFields will be executed at that point.
Be careful not to recurse the call in your provider's implementation. For example, if you implement a composite structure model to create child elements in the provider. The call to IModelInitializationProvider.InitializeFields loops infinitely.
If this method throws an exception, the entire process is rolled back as if the new model creation itself failed.
argument
Name | Type | Description |
---|---|---|
initializeParams | ModelInitializationParams | Parameters that provide the initialization target of the model instance |
Return value
- void