Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.11 KB

File metadata and controls

27 lines (18 loc) · 1.11 KB

DtoInfo class

Helpers for using reflection with DTOs.

public static class DtoInfo

Public Members

name description
static CreateNew(…) Calls CreateNew with the specified property values. (3 methods)
static CreateNew<T>(…) Calls CreateNew with the specified property values. (3 methods)
static GetInfo(…) Gets weakly-typed information about the specified DTO type.
static GetInfo<T>() Gets information about the specified DTO type.

Remarks

DTOs (data transfer objects) usually consist entirely of read/write non-static properties. This library also supports DTOs with read-only non-static properties, but those properties cannot be set, and the DTOs cannot be created or cloned.

See Also