diff options
author | JamesNK <james@newtonking.com> | 2009-03-29 05:36:06 +0400 |
---|---|---|
committer | JamesNK <james@newtonking.com> | 2009-03-29 05:36:06 +0400 |
commit | 3630a43f119f3480296f779a16ef9b3240782658 (patch) | |
tree | 14b8c4225f91f9cb2c10be8e3605d204fb2f95b5 /Src/Newtonsoft.Json.Tests/TestObjects/StoreColor.cs | |
parent | b9bedd1233e8c69d82aaf5a7ab8c7a749173d31e (diff) |
-Added StringEnumConverter
-Added BinaryConverter
Diffstat (limited to 'Src/Newtonsoft.Json.Tests/TestObjects/StoreColor.cs')
-rw-r--r-- | Src/Newtonsoft.Json.Tests/TestObjects/StoreColor.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Src/Newtonsoft.Json.Tests/TestObjects/StoreColor.cs b/Src/Newtonsoft.Json.Tests/TestObjects/StoreColor.cs index 43cf7fb..7c064f4 100644 --- a/Src/Newtonsoft.Json.Tests/TestObjects/StoreColor.cs +++ b/Src/Newtonsoft.Json.Tests/TestObjects/StoreColor.cs @@ -23,13 +23,16 @@ // OTHER DEALINGS IN THE SOFTWARE.
#endregion
+using System;
+
namespace Newtonsoft.Json.Tests.TestObjects
{
+ [Flags]
public enum StoreColor
{
- Black,
- Red,
- Yellow,
- White
+ Black = 1,
+ Red = 2,
+ Yellow = 4,
+ White = 8
}
}
\ No newline at end of file |