PromptPlus

|Adr-Plus Fields|Values Migrated | |–|–| |ADR|Result model: ResultPrompt<T> readonly struct| |Version|01| |Revision|01| |Scope|| |Domain|| |Created|Proposed (2026-07-24)| |Changed|Accepted (2026-07-24)| |Superseded||

PromptPlus # PromptPlus ## **ADR0004V01R01** [![NuGet](https://img.shields.io/badge/NuGet-PromptPlus-blue)](https://www.nuget.org/packages/PromptPlus) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![.NET](https://img.shields.io/badge/.NET-8%20%7C%209%20%7C%2010-512BD4)](https://dotnet.microsoft.com/)

↑ ADR Index


ADR0004V01R01 — Result model: ResultPrompt<T> readonly struct

Context

Every interactive control must return both a value and whether the user aborted (Esc). Options considered: throw on abort, return null, or return a rich result object.

Decision

Every .Run() returns a readonly struct ResultPrompt<T> with:

Abort is a normal, non-exceptional outcome; the property is named Content (not Value).

Consequences