Files
DP44/docs/ai/Common/DTS.CommonCore/Attributes.md
2026-04-17 14:55:32 -04:00

1011 B

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
Common/DTS.CommonCore/Attributes/VersionAttribute.cs
2026-04-17T16:38:27.969703+00:00 zai-org/GLM-5-FP8 1 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