35 lines
1.3 KiB
Markdown
35 lines
1.3 KiB
Markdown
---
|
|
source_files:
|
|
- Common/DTS.Common.Serialization/Control/ReviewableAttribute.cs
|
|
- Common/DTS.Common.Serialization/Control/IntervalSec.cs
|
|
generated_at: "2026-04-17T15:41:51.560483+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "cb4c6675adecfb5e"
|
|
---
|
|
|
|
# Documentation: DTS.Slice.Control
|
|
|
|
## 1. Purpose
|
|
|
|
This module provides core data structures for the DTS Slice Control subsystem. It defines `ReviewableAttribute`, an abstract base class for attributes that can be displayed on a "review tab" with dynamically computed values, and `IntervalSec`, a simple value type representing time intervals in seconds with bidirectional implicit conversion to a serialization counterpart. Both classes extend `Exceptional`, indicating a pattern of comprehensive exception handling throughout the inheritance hierarchy.
|
|
|
|
---
|
|
|
|
## 2. Public Interface
|
|
|
|
### ReviewableAttribute (abstract class)
|
|
|
|
**Namespace:** `DTS.Slice.Control`
|
|
**Base Class:** `Exceptional`
|
|
|
|
Represents an attribute that can be displayed on a review tab, with its value computed on-demand via a delegate.
|
|
|
|
#### Constructor
|
|
|
|
```csharp
|
|
public ReviewableAttribute(string name, DetermineValueString calculateValue)
|
|
```
|
|
Initializes a new instance with the specified name and value calculation delegate. Throws `ReviewableAttribute.Exception` on construction failure.
|
|
|
|
#### |