39 lines
1.5 KiB
Markdown
39 lines
1.5 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- Common/DTS.Common.Licensing/Enums/DataProLicensingEnums.cs
|
||
|
|
generated_at: "2026-04-17T16:27:42.024924+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "37dc0dceb52286dc"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Enums
|
||
|
|
|
||
|
|
### Purpose
|
||
|
|
This module defines licensing-related enumerations for the DTS system. It exists to provide a centralized, strongly-typed definition of license types that can be referenced across the codebase for licensing validation and feature gating.
|
||
|
|
|
||
|
|
### Public Interface
|
||
|
|
|
||
|
|
**Class: `DataProLicensingEnums`**
|
||
|
|
- Container class for the `LicenseType` enum.
|
||
|
|
|
||
|
|
**Enum: `DataProLicensingEnums.LicenseType`**
|
||
|
|
- `Standard = 0` - Basic license tier.
|
||
|
|
- `Enterprise = 1` - Enterprise-level license.
|
||
|
|
- `EnterpriseSite = 2` - Enterprise site license.
|
||
|
|
- `TSRAir = 3` - TSR Air specific license.
|
||
|
|
- `StandardSite = 4` - Standard site license (added per FB 30628).
|
||
|
|
|
||
|
|
### Invariants
|
||
|
|
- Enum values are explicitly assigned starting from 0 with sequential integer values.
|
||
|
|
- The enum is nested within a public class container.
|
||
|
|
|
||
|
|
### Dependencies
|
||
|
|
- **Depends on:** `System`, `System.Collections.Generic`, `System.Linq`, `System.Text`, `System.Threading.Tasks` (imported but not utilized in the visible source).
|
||
|
|
- **Depended on by:** Not determinable from source alone.
|
||
|
|
|
||
|
|
### Gotchas
|
||
|
|
- The imports include several namespaces (`System.Linq`, `System.Threading.Tasks`, etc.) that are not used in the visible code—potential cleanup opportunity.
|
||
|
|
- The comment `//FB 30628 Added StandardSite license type` references a ticket/issue tracking system for the `StandardSite` addition.
|
||
|
|
|
||
|
|
---
|