Click or drag to resize
Ranorex

ValidateOptions Class

Provides additional options for a validation action.
Inheritance Hierarchy
SystemObject
  RanorexValidateOptions

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public sealed class Options : IEquatable<ValidateOptions>

The ValidateOptions type exposes the following members.

Constructors
  NameDescription
Public methodValidateOptions
Initializes a new instance of the ValidateOptions class with default values.
Public methodValidateOptions(Boolean)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(ReportLevel)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(ValidateResultOption)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(Boolean, ReportLevel)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(Boolean, ValidateResultOption)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(ReportLevel, ValidateResultOption)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(Boolean, ReportLevel, ValidateResultOption)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(Boolean, ReportLevel, ReportLevel, ValidateResultOption)
Initializes a new instance of the ValidateOptions class.
Public methodValidateOptions(Boolean, ReportLevel, ReportLevel, ValidateResultOption, ValidateResultOption, ValidateResultOption, ValidateResultOption, Duration)
Initializes a new instance of the ValidateOptions class.
Top
Properties
  NameDescription
Public propertyStatic memberDefault
Gets or set the default options for validation actions.
Public propertyExceptionOnFail
Gets or sets a value indicating whether an exception should be thrown if the validation fails.
Public propertyGracePeriod
Gets or sets the grace period allowed for attribute validations to stabilize before the validation fails.
Public propertyReportDifferenceImages
Gets or sets a value specifying whether to add difference images to the report for image comparisons.
Public propertyReportExpectedAndActualImages
Gets or sets a value specifying whether to add the expected and actual images to the report for image validations.
Public propertyReportLevelOnFailure
Gets or sets the report level used if the validation fails.
Public propertyReportLevelOnSuccess
Gets or sets the report level used if the validation succeeds.
Public propertyReportScreenshot
Gets or sets a value specifying whether to add a screenshot to the report.
Public propertyReportSimilarity
Gets or sets a value specifying whether to add the effective image similarity to the report.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether this instance is equal to obj.
(Overrides ObjectEquals(Object).)
Public methodEquals(ValidateOptions)
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberEquals(ValidateOptions, ValidateOptions)
Returns true if the two instances are equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a static, very poor performing hash code!
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
Parses the given String and returns a new ValidateOptions instance.
Public methodToString
Returns a string representation of the instance.
(Overrides ObjectToString.)
Public methodStatic memberTryParse
Tries parsing the given String to a ValidateOptions instance.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Top
See Also