MorphHelper 类
定义
一个用于更新模型项引用和属性的帮助器类。A helper class used to update model item references and properties.
public ref class MorphHelper abstract sealed
public static class MorphHelper
type MorphHelper = class
Public Class MorphHelper
- 继承
-
MorphHelper
方法
| AddPropertyValueMorphHelper(Type, PropertyValueMorphHelper) |
添加方法来处理指定属性类型的类型转换。Adds a method to handle type conversions for the specified property type. |
| GetPropertyValueMorphHelper(Type) |
返回可处理指定属性类型的类型转换的方法。Returns the method that handles type conversions for the specified property type. |
| MorphObject(ModelItem, ModelItem) |
将模型项引用更新为模型项父级和源中的指定新模型项。Updates the model item references to the specified new model item in the model item parents and sources. |
| MorphProperties(ModelItem, ModelItem) |
通过指定旧模型项中的对应属性值更新指定新模型项中的属性值。Updates the property values in the specified new model item from the corresponding property values in the specified old model item. |