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
Type | Name |
---|---|
System.Exception | exception |
Add(String)
View Source
Declaration
public void Add(string errorMessage)
Parameters
Type | Name |
---|---|
System.String | errorMessage |
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