52 lines
3.0 KiB
Markdown
52 lines
3.0 KiB
Markdown
---
|
||
source_files:
|
||
- DataPRO/Modules/SystemSettings/PowerAndBattery/Properties/AssemblyInfo.cs
|
||
generated_at: "2026-04-16T04:41:19.217178+00:00"
|
||
model: "Qwen/Qwen3-Coder-Next-FP8"
|
||
schema_version: 1
|
||
sha256: "7315bc849a145f3a"
|
||
---
|
||
|
||
# Properties
|
||
|
||
### **1. Purpose**
|
||
This module is an assembly-level metadata definition for a component named **PowerAndBattery**, part of the `DataPRO` system’s SystemSettings module. It provides .NET assembly attributes that define identity, versioning, and COM visibility information for the compiled module. It does not contain any executable logic or business functionality; its sole purpose is to configure metadata used by the .NET runtime and build/deployment tooling.
|
||
|
||
---
|
||
|
||
### **2. Public Interface**
|
||
This file contains **no public types, functions, classes, or methods**. It is a pure metadata assembly file (`AssemblyInfo.cs`) and defines only assembly-level attributes via `Assembly` attributes. All content is declarative and non-executable.
|
||
|
||
---
|
||
|
||
### **3. Invariants**
|
||
- The assembly is **not COM-visible** (`ComVisible(false)`), meaning its types cannot be accessed from COM clients unless explicitly exposed.
|
||
- The assembly’s identity is fixed as `PowerAndBattery`, with version `1.0.0.0` for both `AssemblyVersion` and `AssemblyFileVersion`.
|
||
- The `Guid` attribute (`7446722e-490d-4f6a-beaf-907947e576d5`) uniquely identifies the typelib for COM interop purposes, though COM visibility is disabled.
|
||
- No runtime invariants or stateful constraints apply, as this file contains no logic.
|
||
|
||
---
|
||
|
||
### **4. Dependencies**
|
||
- **Depends on**:
|
||
- `System.Reflection`
|
||
- `System.Runtime.CompilerServices`
|
||
- `System.Runtime.InteropServices`
|
||
(All standard .NET framework namespaces, implicitly available.)
|
||
|
||
- **Depended on by**:
|
||
- The build system (to embed metadata into the compiled assembly).
|
||
- Any consumer of the compiled `PowerAndBattery.dll` assembly (e.g., via reflection or COM interop, though COM access is disabled).
|
||
- Internal tooling or deployment scripts that rely on assembly identity/versioning.
|
||
|
||
No other source files or modules are referenced in this file.
|
||
|
||
---
|
||
|
||
### **5. Gotchas**
|
||
- **No executable code**: Developers may mistakenly expect logic here; this file is *only* for assembly metadata and must be paired with other source files (not shown) that implement the actual power/battery functionality.
|
||
- **COM disabled**: Despite the presence of a `Guid`, COM interop is disabled (`ComVisible(false)`), so the GUID has no practical effect unless `ComVisible(true)` is set elsewhere (e.g., in project-level settings or another `AssemblyInfo`).
|
||
- **Versioning**: Both `AssemblyVersion` and `AssemblyFileVersion` are hardcoded to `1.0.0.0`. If versioning is managed externally (e.g., via CI/CD), this may cause confusion or require manual updates.
|
||
- **Empty `AssemblyDescription` and `AssemblyCompany`**: These fields are blank, which may be intentional but could complicate diagnostics or metadata inspection.
|
||
|
||
None identified beyond the above. |