Click or drag to resize

EmbeddedDocumentNameValidator Class

Validator for the EmbeddedDocumentDefinition.Name property. It checks whether the name of the embedded document isn't used among other embedded documents in the containing document.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.ValidationGeneralNameValidator
    SD.LLBLGen.Pro.ApplicationCore.DerivedModel.ValidationEmbeddedDocumentNameValidator

Namespace:  SD.LLBLGen.Pro.ApplicationCore.DerivedModel.Validation
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public class EmbeddedDocumentNameValidator : GeneralNameValidator

The EmbeddedDocumentNameValidator type exposes the following members.

Constructors
  NameDescription
Public methodEmbeddedDocumentNameValidator
Initializes a new instance of the EmbeddedDocumentNameValidator class
Top
Properties
  NameDescription
Protected propertyContainingProject
Gets the containing project.
(Inherited from GeneralNameValidator.)
Public propertyValidationError
Gets the validation error which occured during the last Validate call, or string.Empty if nothing was wrong or Validate hasn't been called yet.
(Inherited from GeneralNameValidator.)
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.)
Protected methodSetLastValidationError
Sets the last validation error.
(Inherited from GeneralNameValidator.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the value specified
(Overrides GeneralNameValidatorValidate(String, Boolean, String).)
Protected methodValidateName
Validates the name specified
(Inherited from GeneralNameValidator.)
Public methodValidateReportOnly
Validates the value specified and reports a failure as a validation exception, otherwise it ignores the result.
(Inherited from GeneralNameValidator.)
Top
See Also