Class FeatureSourceValidator
Resource validator for Feature Sources
Inheritance
System.Object
FeatureSourceValidator
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 class FeatureSourceValidator : IResourceValidator
Properties
| Improve this Doc View SourceConnection
The server connection which validation will be performed against
Declaration
public IServerConnection Connection { get; set; }
Property Value
Type | Description |
---|---|
IServerConnection |
SupportedResourceAndVersion
Gets the resource type and version this validator supports
Declaration
public 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 ValidationIssue[] Validate(ResourceValidationContext context, IResource resource, bool recurse)
Parameters
Type | Name | Description |
---|---|---|
ResourceValidationContext | context | |
IResource | resource | |
System.Boolean | recurse |
Returns
Type | Description |
---|---|
ValidationIssue[] |