root / trunk / hammock / src / net35 / Hammock / Tasks / RateLimitType.cs @ 0eea575a
History | View | Annotate | Download (366 Bytes)
1 |
using System; |
---|---|
2 |
using System.Runtime.Serialization; |
3 |
|
4 |
namespace Hammock.Tasks |
5 |
{ |
6 |
#if !SILVERLIGHT |
7 |
[Serializable] |
8 |
#endif |
9 |
public enum RateLimitType |
10 |
{ |
11 |
#if !SILVERLIGHT && !Smartphone && !ClientProfiles && !NET20 && !MonoTouch && !NETCF |
12 |
[EnumMember] ByPercent, |
13 |
[EnumMember] ByPredicate |
14 |
#else |
15 |
ByPercent, |
16 |
ByPredicate |
17 |
#endif |
18 |
} |
19 |
} |