Class ValidatorMetadataCollection
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
Represents a collection of validator metadata.
public class ValidatorMetadataCollection : Collection<ValidatorMetadata>, IList<ValidatorMetadata>, ICollection<ValidatorMetadata>, IReadOnlyList<ValidatorMetadata>, IReadOnlyCollection<ValidatorMetadata>, IEnumerable<ValidatorMetadata>, IList, ICollection, IEnumerable
- Inheritance
-
ValidatorMetadataCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
ValidatorMetadataCollection()
Initializes a new instance of an object.
public ValidatorMetadataCollection()
ValidatorMetadataCollection(IEnumerable<ValidatorMetadata>)
Initializes a new instance of an object.
public ValidatorMetadataCollection(IEnumerable<ValidatorMetadata> items)
Parameters
items
IEnumerable<ValidatorMetadata>Elements to be copied to this collection.
Methods
Find(string)
Returns the first element with the given type name.
public ValidatorMetadata Find(string typeName)
Parameters
typeName
stringAssembly-qualified name of the validator.
Returns
- ValidatorMetadata
The first element with the given type name.