Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 08c00ef

Browse files
committed
Add Site placeholders
1 parent 2a14912 commit 08c00ef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ServiceStack.Text/LicenseUtils.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public enum LicenseType
3232
AwsBusiness,
3333
Trial,
3434
Site,
35+
TextSite,
36+
RedisSite,
37+
OrmLiteSite,
3538
}
3639

3740
[Flags]
@@ -335,10 +338,12 @@ public static LicenseFeature GetLicensedFeatures(this LicenseKey key)
335338

336339
case LicenseType.TextIndie:
337340
case LicenseType.TextBusiness:
341+
case LicenseType.TextSite:
338342
return LicenseFeature.Text;
339343

340344
case LicenseType.OrmLiteIndie:
341345
case LicenseType.OrmLiteBusiness:
346+
case LicenseType.OrmLiteSite:
342347
return LicenseFeature.OrmLiteSku;
343348

344349
case LicenseType.AwsIndie:
@@ -347,6 +352,7 @@ public static LicenseFeature GetLicensedFeatures(this LicenseKey key)
347352

348353
case LicenseType.RedisIndie:
349354
case LicenseType.RedisBusiness:
355+
case LicenseType.RedisSite:
350356
return LicenseFeature.RedisSku;
351357
}
352358
throw new ArgumentException("Unknown License Type: " + key.Type).Trace();

0 commit comments

Comments
 (0)