Class ModelBindingErrorNotification
Contains event data for the
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class ModelBindingErrorNotification : INotification
Constructors
View SourceModelBindingErrorNotification(Type, Type, StringBuilder)
Initializes a new instance of the ModelBindingErrorNotification class.
Declaration
public ModelBindingErrorNotification(Type sourceType, Type modelType, StringBuilder message)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | |
Type | modelType | |
System.Text.StringBuilder | message |
Properties
View SourceMessage
Gets the message string builder.
Declaration
public StringBuilder Message { get; }
Property Value
Type | Description |
---|---|
System.Text.StringBuilder |
Remarks
Handlers of the event can append text to the message.
ModelType
Gets the type of the view model.
Declaration
public Type ModelType { get; }
Property Value
Type | Description |
---|---|
Type |
SourceType
Gets the type of the source object.
Declaration
public Type SourceType { get; }
Property Value
Type | Description |
---|---|
Type |