Class BaseSymbolDefinitionValidator
The base class of Symbol Definition validators
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.MaestroAPI.Resource.Validation
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public abstract class BaseSymbolDefinitionValidator : IResourceValidator
Properties
| Improve this Doc View SourceConnection
The connection to use
Declaration
public IServerConnection Connection { get; set; }
Property Value
Type | Description |
---|---|
IServerConnection |
SupportedResourceAndVersion
Gets the resource type and version this validator supports
Declaration
public abstract ResourceTypeDescriptor SupportedResourceAndVersion { get; }
Property Value
Type | Description |
---|---|
ResourceTypeDescriptor |
Methods
| Improve this Doc View SourceValidate(ResourceValidationContext, IResource, Boolean)
Validats the specified resources for common issues associated with this resource type
Declaration
public virtual ValidationIssue[] Validate(ResourceValidationContext context, IResource resource, bool recurse)
Parameters
Type | Name | Description |
---|---|---|
ResourceValidationContext | context | |
IResource | resource | |
System.Boolean | recurse |
Returns
Type | Description |
---|---|
ValidationIssue[] |
ValidateBase(ResourceValidationContext, IResource, Boolean)
Validats the specified resources for common issues associated with this resource type
Declaration
protected ValidationIssue[] ValidateBase(ResourceValidationContext context, IResource resource, bool recurse)
Parameters
Type | Name | Description |
---|---|---|
ResourceValidationContext | context | |
IResource | resource | |
System.Boolean | recurse |
Returns
Type | Description |
---|---|
ValidationIssue[] |
ValidateSimpleSymbolDefinition(ISimpleSymbolDefinition, ResourceValidationContext)
Validates the simple symbol definition.
Declaration
protected IEnumerable<ValidationIssue> ValidateSimpleSymbolDefinition(ISimpleSymbolDefinition ssym, ResourceValidationContext context)
Parameters
Type | Name | Description |
---|---|---|
ISimpleSymbolDefinition | ssym | The ssym. |
ResourceValidationContext | context | The context. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ValidationIssue> |