PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Configuration Namespace / Configuration­Element Class / Configuration­Element Methods / Configuration­Element.​Validate Method

ConfigurationElement.Validate Method

Validates the current configuration element.

Namespace:  PostSharp.Sdk.Extensibility.Configuration
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public virtual bool Validate()

Return Value

Type: Boolean
true if the current configuration element is valid, otherwise false.
This method should writer errors (and warnings) to the current Messenger. It should validate child configuration elements recursively.
See Also