-
Notifications
You must be signed in to change notification settings - Fork 2
/
Icon.cs
44 lines (38 loc) · 839 Bytes
/
Icon.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace makiArcGISStyle
{
////example
//{
// "name": "Circle stroked",
// "tags": [
// "circle",
// "disc",
// "shape",
// "shapes",
// "geometric",
// "stroke",
// "round"
// ],
// "icon": "circle-stroked"
// }
[DataContract]
class Icon: IComparable<Icon>
{
[DataMember]
public string name { get; set; }
[DataMember]
public string[] tags { get; set; }
[DataMember]
public string icon { get; set; }
#region IComparable<Icon> Members
int IComparable<Icon>.CompareTo(Icon other)
{
return this.name.CompareTo(other.name);
}
#endregion
}
}