C# Class Rock.Constants.WarningMessage

Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
CannotBeBlank ( string itemFieldName ) : string

Returns a message in the format: "Value required for {0}."

DateRangeEndDateBeforeStartDate ( ) : string

Returns a message: "End Date cannot be earlier than Start Date"

DateTimeFormatInvalid ( string itemFieldName ) : string

Returns a message in the format: Invalid format for {0}."

NotAuthorizedToEdit ( string itemFieldName ) : string

Returns a message in the format: "You are not authorized to edit {0}."

Method Details

CannotBeBlank() public static method

Returns a message in the format: "Value required for {0}."
public static CannotBeBlank ( string itemFieldName ) : string
itemFieldName string Name of the item field.
return string

DateRangeEndDateBeforeStartDate() public static method

Returns a message: "End Date cannot be earlier than Start Date"
public static DateRangeEndDateBeforeStartDate ( ) : string
return string

DateTimeFormatInvalid() public static method

Returns a message in the format: Invalid format for {0}."
public static DateTimeFormatInvalid ( string itemFieldName ) : string
itemFieldName string Name of the item field.
return string

NotAuthorizedToEdit() public static method

Returns a message in the format: "You are not authorized to edit {0}."
public static NotAuthorizedToEdit ( string itemFieldName ) : string
itemFieldName string Name of the item field.
return string