DtoAttribute Properties |
The DtoAttribute type exposes the following members.
Name | Description | |
---|---|---|
Dynamic |
Gets or sets value that indicates if nested serialization level is resolved dynamically.
Nested level can be dynamic if you are trying to serialize parent object using some level higher than the level indicated in the DtoAttribute.Value.
In this case the nested level is calculated at runtime based on difference between the required level and the DtoAttribute.Value.
This difference is added to the DtoAttribute.Nested serialization level. This behaviour works only if Dynamic property is true.
| |
IsCustomType |
Must be set to true if current property is Custom Type.
| |
Nested |
If the current property represents nested domain object, then this field defines
the Level of serialization applied to the child properties of the domain object
| |
Parser |
You can provide your own parser. Creating custom parser is simple.
You have to implement the IParser interface.
If parsing is impossible due to wrong format custom parser must throw some Exception
| |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
Value |
Level of serialization applied to this property
|