Click or drag to resize
DtoAttribute Class
Represents marker attribute for DTO class properties
Inheritance Hierarchy

Namespace: Jeneva
Assembly: Jeneva.Net-1.1 (in Jeneva.Net-1.1.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public class DtoAttribute : Attribute

The DtoAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDtoAttribute
Creates instance of the DtoAttribute class
Public methodDtoAttribute(Byte)
Creates an instance of the DtoAttribute class
Public methodDtoAttribute(Byte, Byte)
Creates instance of the DtoAttribute class
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDynamic
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.
Public propertyIsCustomType
Must be set to true if current property is Custom Type.
Public propertyNested
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
Public propertyParser
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
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyValue
Level of serialization applied to this property
Top
See Also