Partager via


FileValidator Members

Include Protected Members
Include Inherited Members

The FileValidator type exposes the following members.

Constructors

  Name Description
Ff665890.pubmethod(en-us,PandP.50).gif FileValidator

Methods

  Name Description
Ff665890.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff665890.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff665890.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff665890.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff665890.protmethod(en-us,PandP.50).gif InnerValidateCore
When overridden in a derived class performs validation on fileName.
Ff665890.pubmethod(en-us,PandP.50).gifFf665890.static(en-us,PandP.50).gif IsUNC
Ff665890.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ff665890.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)
Ff665890.pubmethod(en-us,PandP.50).gif Validate
Validates value as part of the instance.
(Inherited from Validator.)
Ff665890.protmethod(en-us,PandP.50).gif ValidateCore
Validates whether value is a valid file path then calls InnerValidateCore(Property, String, IList<ValidationResult>) passing a rooted file path.
(Overrides Validator.ValidateCore(Object, String, IList<ValidationResult>).)

Properties

  Name Description
Ff665890.pubproperty(en-us,PandP.50).gif ApplicationModel
Gets or sets the IApplicationModel that is used to obtain contextual information used for validation.
Ff665890.protproperty(en-us,PandP.50).gif ContextPath
Returns the path which should be used to validate relative paths.

See Also

FileValidator Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation Namespace