Files

26 lines
1011 B
Markdown
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
---
source_files:
- Common/DTS.CommonCore/Attributes/VersionAttribute.cs
generated_at: "2026-04-17T16:38:27.969703+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "3c822eef83b93a70"
---
# Documentation: VersionAttribute.cs
## 1. Purpose
This module defines a custom attribute named `VersionAttribute` within the `DTS.Common.Attributes` namespace. It allows developers to annotate classes, methods, or other code elements with an immutable integer version number, facilitating metadata-driven version tracking within the system.
## 2. Public Interface
* **`public class VersionAttribute : Attribute`**
* The primary class definition inheriting from `System.Attribute`.
* **`public VersionAttribute(int version)`**
* **Signature:** Constructor accepting an integer.
* **Behavior:** Initializes a new instance of the attribute and sets the `Version` property to the provided integer value.
* **`public int Version { get; private set; }`**
* **Type:** `int`
*