---
title: SAIF.Framework.CodeTimer API reference
summary: Index of all public types in this library.
status: draft
owner: <owner>
last_reviewed: 2026-07-23
library: SAIF.Framework.CodeTimer
reference_type: package
---

# SAIF.Framework.CodeTimer API reference

This page lists all public types exposed by `SAIF.Framework.CodeTimer`. Each type links to its full API reference page.

## Types

| Type | Kind | Namespace | Purpose |
| --- | --- | --- | --- |
| [CodeTimer](SAIF.Framework.CodeTimer/CodeTimer.md) | Class (static) | `SAIF.Framework.CodeTimer` | Central static API for starting/stopping hierarchical timers and producing XML results. |
| [CodeTimerAttribute](SAIF.Framework.CodeTimer/CodeTimerAttribute.md) | Class | `SAIF.Framework.CodeTimer` | Method-level attribute (`[CodeTimer(enabled)]`) that toggles timing per instrumented method. |
| [CodeTimerEntry](SAIF.Framework.CodeTimer/CodeTimerEntry.md) | Class | `SAIF.Framework.CodeTimer` | Mutable record of one timer's running state and accumulated statistics. |
| [CodeTimerItem](SAIF.Framework.CodeTimer/CodeTimerItem.md) | Class | `SAIF.Framework.CodeTimer` | Hierarchical result node used to build a tree of timing results for output. |
| [CodeTimerItemSorter](SAIF.Framework.CodeTimer/CodeTimerItemSorter.md) | Class | `SAIF.Framework.CodeTimer` | Non-generic comparer for sorting `CodeTimerItem` objects by name, elapsed, quantity, or average. |
| [CustomTimeSpan](SAIF.Framework.CodeTimer/CustomTimeSpan.md) | Class | `SAIF.Framework.CodeTimer` | Simple value holder for one timed span's duration and start/stop timestamps. |

<!-- CodeTimerResult is an internal class (no access modifier -> default internal) and is therefore not part of the public surface; it is intentionally excluded from this table. -->

## Sources
- SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer\CodeTimer.cs
- SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer\CodeTimerAttribute.cs
- SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer\CodeTimerEntry.cs
- SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer\CodeTimerItem.cs
- SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer\CodeTimerItemSorter.cs
- SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer\CustomTimeSpan.cs
- SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer\SAIF.Framework.CodeTimer.csproj
