using System; namespace Abp.Application.Services.Dto { /// /// Can be used to send/receive Name/Value (or Key/Value) pairs. /// [Serializable] public class NameValueDto : NameValueDto { /// /// Creates a new . /// public NameValueDto() { } /// /// Creates a new . /// public NameValueDto(string name, string value) : base(name, value) { } /// /// Creates a new . /// /// A object to get it's name and value public NameValueDto(NameValue nameValue) : this(nameValue.Name, nameValue.Value) { } } /// /// Can be used to send/receive Name/Value (or Key/Value) pairs. /// [Serializable] public class NameValueDto : NameValue { /// /// Creates a new . /// public NameValueDto() { } /// /// Creates a new . /// public NameValueDto(string name, T value) : base(name, value) { } /// /// Creates a new . /// /// A object to get it's name and value public NameValueDto(NameValue nameValue) : this(nameValue.Name, nameValue.Value) { } } }