Skip to main content

ModelErrorCollection

Assembly: ServiceStack.Razor.dll
View Source
Declaration
[Serializable]
public class ModelErrorCollection : Collection<ModelError>, IList<ModelError>, ICollection<ModelError>, IList, ICollection, IReadOnlyList<ModelError>, IReadOnlyCollection<ModelError>, IEnumerable<ModelError>, IEnumerable

Methods

Add(Exception)

View Source
Declaration
public void Add(Exception exception)
Parameters
TypeName
System.Exceptionexception

Add(String)

View Source
Declaration
public void Add(string errorMessage)
Parameters
TypeName
System.StringerrorMessage

Implements

  • System.Collections.Generic.IList<ServiceStack.Html.ModelError>
  • System.Collections.Generic.ICollection<ServiceStack.Html.ModelError>
  • System.Collections.IList
  • System.Collections.ICollection
  • System.Collections.Generic.IReadOnlyList<ServiceStack.Html.ModelError>
  • System.Collections.Generic.IReadOnlyCollection<ServiceStack.Html.ModelError>
  • System.Collections.Generic.IEnumerable<ServiceStack.Html.ModelError>
  • System.Collections.IEnumerable