Result
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.
Declaration
Summary
Lightweight generic result type used by integration-facing interfaces such as IPlaceableInventoryAdapter and IPlaceablePersistenceAdapter.
Metadata
Namespace: GridPlacement.Core.Interfaces
Source File: cs/Core/Interfaces/Result.cs
Assembly: GridPlacement.Core
Type: class
Properties
Success
True when the operation completed successfully.
Value
Value produced by a successful operation. May be null when the operation failed.
ErrorMessage
Optional error message for failed operations.
Methods
CreateSuccess
Creates a successful result wrapping the provided value.
Failure
Creates a failed result with an error message.