Метод | Описание | |
---|---|---|
AddPostConversion ( |
Adds a custom converter that resolves differences when converting an event or command with an earlier schema.
|
|
Convert ( object obj ) : |
Converts a command or event into a property bag.
|
|
Convert ( |
Converts a command or event stored as a property bag back to its object representation. If a post conversion was registered using AddPostConversion, it will be invoked after the default conversion has completed. Moreover, the actual type created can be overridden by providing a custom IPropertyBagTypeResolver through the TypeResolver property. |
Метод | Описание | |
---|---|---|
CreateInstanceOfType ( |
||
GetDestinationType ( |
||
InitializeInstancePropertiesFrom ( |
||
InvokePostConverter ( object instance, |
||
IsPropertyWritable ( |
||
RequiresConversion ( |
||
SetPropertyValue ( object instance, |
public AddPostConversion ( |
||
targetType | The type of command or event for which to a add custom post conversion. | |
converter | IPropertyBagPostConverter | The converter object that will resolve the differences. |
Результат | void |
public Convert ( object obj ) : |
||
obj | object | |
Результат |
public Convert ( |
||
propertyBag | ||
Результат | object |