Skip to content

MessagesViewModel

View-model shape that surfaces ModelStateWrapper's de-duplicated Warnings/Informationals collections to a view; no operation in this library's catalog constructs it directly, so the exact population path is inferred to be consuming-application code that reads IMessageContainer.*

Purpose

  • View-model shape that surfaces ModelStateWrapper's de-duplicated Warnings/Informationals collections to a view; no operation in this library's catalog constructs it directly, so the exact population path is inferred to be consuming-application code that reads IMessageContainer.*

Context

  • Namespace: SAIF.Web.Mvc.ViewModels
  • Assembly/package: SAIF.Framework.Web.Mvc (source-shipping NuGet package)
  • Kind: class

Public members

Member Signature Purpose
Warnings public IList<string> Warnings { get; set; } Warning messages to display, expected to be sourced from ModelStateWrapper.Warnings.*
Informationals public IList<string> Informationals { get; set; } Informational messages to display, expected to be sourced from ModelStateWrapper.Informationals.*

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • src/Web.Mvc/ViewModels/MessagesViewModel.cs