ISAIFResult¶
ISAIFResult is a public interface in SAIF.Business that defines the status-and-messages contract used for SAIF operation results.
Purpose¶
- Exposes a Boolean
Statusvalue so callers can determine whether an operation succeeded. - Exposes a
List(Of String)of result messages so callers can inspect informational or error text returned with the status.
Context¶
- Namespace:
SAIF.Business - Assembly/package:
SAIF.Business
Public members¶
| Member | Signature | Purpose |
|---|---|---|
Status |
ReadOnly Property Status As Boolean |
Returns the result status value. |
Messages |
ReadOnly Property Messages As List(Of String) |
Returns the collection of result messages associated with the status. |
Behavioral notes¶
- The interface declares a read-only success flag and a read-only message-list reference, but no methods for mutating or populating either value.
Messagesis typed asList(Of String)rather than a read-only collection interface.
Constraints and usage notes¶
- This page documents only the
Public Interface ISAIFResultdeclared at the top ofclsSAIFResult.vb. - Implementing types are responsible for creating and populating the message list.
- The contract does not prescribe how statuses and messages are generated or persisted.
Sources¶
Business\SAIF.Business\clsSAIFResult.vb