Click or drag to resize

Problem<T, U> Class

Defines a problem found in the internal state of an object.
Inheritance Hierarchy
System.Object
  Atalasoft.Shared.Validation.BaseProblem
    Atalasoft.Shared.Validation.Problem<T, U>
      Atalasoft.PdfDoc.Generating.Annotations.AnnotationPropertyProblem<T>
      Atalasoft.PdfDoc.Generating.Forms.PdfFormPropertyProblem

Namespace:  Atalasoft.Shared.Validation
Assembly:  Atalasoft.Shared (in Atalasoft.Shared.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public class Problem<T, U> : BaseProblem
where U : RepairContext

Type Parameters

T
This is the class of object which has generated a problem
U
This is a repair context used when repairs are made to the object

The Problem<T, U> type exposes the following members.

Constructors
  NameDescription
Public methodProblem<T, U>
Initializes a new instance of the Problem<T, U> class.
Top
Properties
  NameDescription
Public propertyConsequences
Gets the consequences object that represents the impact, if any, of performing the repairs.
(Inherited from BaseProblem.)
Public propertyDescription
Gets or sets the description of the problem.
(Inherited from BaseProblem.)
Public propertyName
Gets the name of the problem.
(Inherited from BaseProblem.)
Public propertySource
Gets the source of the problem.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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
Serves as the default hash function.
(Inherited from Object.)
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 methodRepair
Repairs this problem.
(Overrides BaseProblem.Repair().)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also