Class RuntimeModeValidatorCollection
Represents a collection that manages IRuntimeModeValidator instances used to validate the application's runtime mode.
Namespace: Umbraco.Cms.Infrastructure.Runtime
Assembly: Umbraco.Infrastructure.dll
Syntax
public class RuntimeModeValidatorCollection : BuilderCollectionBase<IRuntimeModeValidator>, IBuilderCollection<IRuntimeModeValidator>
Constructors
View SourceRuntimeModeValidatorCollection(Func<IEnumerable<IRuntimeModeValidator>>)
Initializes a new instance of the RuntimeModeValidatorCollection class with the specified function to retrieve IRuntimeModeValidator instances.
Declaration
public RuntimeModeValidatorCollection(Func<IEnumerable<IRuntimeModeValidator>> items)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<IEnumerable<IRuntimeModeValidator>> | items | A function that returns an System.Collections.Generic.IEnumerable<T>. |