forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProperty.cs
More file actions
24 lines (21 loc) · 662 Bytes
/
Property.cs
File metadata and controls
24 lines (21 loc) · 662 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//Copyright (c) ServiceStack, Inc. All Rights Reserved.
//License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace ServiceStack
{
[DataContract]
public class Property
{
[DataMember(Order = 1)]
public string Name { get; set; }
[DataMember(Order = 2)]
public string Value { get; set; }
}
[CollectionDataContract(ItemName = "Property")]
public class Properties : List<Property>
{
public Properties() { }
public Properties(IEnumerable<Property> collection) : base(collection) { }
}
}