Skip to content

T_Ifp_Validation_ValidationSeverity_SuccessSeverity

Martin Strecker edited this page Mar 9, 2019 · 6 revisions

ValidationSeverity.SuccessSeverity Class

A default severity. The ValidationSeverity.SuccessSeverity indicates that an object conforms to a validation rule.

Inheritance Hierarchy

System.Object
  Ifp.Validation.ValidationSeverity
    Ifp.Validation.ValidationSeverity.SuccessSeverity
Namespace: Ifp.Validation
Assembly: Ifp.Validation (in Ifp.Validation.dll) Version: 1.4.0

Syntax

C#

public sealed class SuccessSeverity : ValidationSeverity

VB

Public NotInheritable Class SuccessSeverity
	Inherits ValidationSeverity

C++

public ref class SuccessSeverity sealed : public ValidationSeverity

F#

[<SealedAttribute>]
type SuccessSeverity =  
    class
        inherit ValidationSeverity
    end

The ValidationSeverity.SuccessSeverity type exposes the following members.

Constructors

 

Name Description
Public method ValidationSeverity.SuccessSeverity Initializes a new instance of the ValidationSeverity.SuccessSeverity class
  Back to Top

Properties

 

Name Description
Public property AllowsCancel Returns false. Should be ignored because IsAnError is false. (Overrides ValidationSeverity.AllowsCancel.)
Public property CausesCancel Returns false. Should be ignored because IsAnError is false. (Overrides ValidationSeverity.CausesCancel.)
Public property IsAnError Returns false indicating a validation success. (Overrides ValidationSeverity.IsAnError.)
  Back to Top

Methods

 

Name Description
Public method CompareTo Implements IComparable(T). Compares two ValidationSeverity objects by delegating to SeverityAsNumber. (Inherited from ValidationSeverity.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

Ifp.Validation Namespace

Clone this wiki locally