Information about a DTO type.
public sealed class DtoInfo<T> : IDtoInfo
parameter | description |
---|---|
T | The DTO type. |
name | description |
---|---|
Properties { get; } | The properties of the DTO. |
CreateNew() | Creates a new instance of the DTO. |
CreateNew(…) | Creates a new instance of the DTO. |
GetProperty(…) | Returns the property of the specified name. |
GetProperty<TValue>(…) | Returns the property named by the specified getter. (2 methods) |
ShallowClone(…) | Clones the specified DTO by copying each property into a new instance. |
TryGetProperty(…) | Returns the property of the specified name. |
TryGetProperty<TValue>(…) | Returns the property of the specified name. |