Search Results for

    Show / Hide Table of Contents

    Class RepositorySection

    Represents Repository application configuration section.

    Inheritance
    object
    ConfigurationElement
    ConfigurationSection
    RepositorySection
    Inherited Members
    ConfigurationSection.SectionInformation
    ConfigurationElement.IsReadOnly()
    ConfigurationElement.Equals(object)
    ConfigurationElement.GetHashCode()
    ConfigurationElement.LockAttributes
    ConfigurationElement.LockAllAttributesExcept
    ConfigurationElement.LockElements
    ConfigurationElement.LockAllElementsExcept
    ConfigurationElement.LockItem
    ConfigurationElement.ElementInformation
    ConfigurationElement.CurrentConfiguration
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Nevatech.Vsb.Repository.Configuration
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class RepositorySection : ConfigurationSection

    Constructors

    RepositorySection()

    Declaration
    public RepositorySection()

    Fields

    DocumentationUrlAttributeName

    Name of the attribute representing Documentation / Help page base URL property in the configuration element.

    Declaration
    public const string DocumentationUrlAttributeName = "documentationUrl"
    Field Value
    Type Description
    string

    MetadataElementName

    Name of the element representing metadata property of the configuration section.

    Declaration
    public const string MetadataElementName = "metadata"
    Field Value
    Type Description
    string

    MonitoringElementName

    Name of the element representing Monitoring property in the configuration section.

    Declaration
    public const string MonitoringElementName = "monitoring"
    Field Value
    Type Description
    string

    ReportingElementName

    Name of the element representing reporting property of the configuration section.

    Declaration
    public const string ReportingElementName = "reporting"
    Field Value
    Type Description
    string

    SectionName

    Name of the section in configuration file.

    Declaration
    public const string SectionName = "nevatech.vsb.repository"
    Field Value
    Type Description
    string

    SecurityElementName

    Name of the element representing security property of the configuration section.

    Declaration
    public const string SecurityElementName = "security"
    Field Value
    Type Description
    string

    Properties

    Current

    Gets currently loaded repository configuration.

    Declaration
    public static RepositorySection Current { get; }
    Property Value
    Type Description
    RepositorySection

    DocumentationUrl

    Gets or sets the product documentation base URL. If not set then publicly hosted documentation is used.

    Declaration
    [ConfigurationProperty("documentationUrl")]
    public Uri DocumentationUrl { get; set; }
    Property Value
    Type Description
    Uri

    Metadata

    Gets configuration element containing configuration related to service metadata generation process.

    Declaration
    [ConfigurationProperty("metadata")]
    public MetadataElement Metadata { get; }
    Property Value
    Type Description
    MetadataElement

    Monitoring

    Gets the repository's monitoring configuration.

    Declaration
    [ConfigurationProperty("monitoring")]
    public RepositoryMonitoringElement Monitoring { get; }
    Property Value
    Type Description
    RepositoryMonitoringElement

    Properties

    Gets collection of configuration element properties.

    Declaration
    protected override ConfigurationPropertyCollection Properties { get; }
    Property Value
    Type Description
    ConfigurationPropertyCollection
    Overrides
    ConfigurationElement.Properties

    Reporting

    Gets configuration element containing configuration for the service activity reporting subsystem.

    Declaration
    [ConfigurationProperty("reporting")]
    public ReportingElement Reporting { get; }
    Property Value
    Type Description
    ReportingElement

    Security

    Gets configuration element containing security related configuration.

    Declaration
    [ConfigurationProperty("security")]
    public SecurityElement Security { get; }
    Property Value
    Type Description
    SecurityElement

    Methods

    GetSection(Configuration)

    Gets the repository configuration section from the specified configuration.

    Declaration
    public static RepositorySection GetSection(Configuration config)
    Parameters
    Type Name Description
    Configuration config

    The configuration to get the routing section from.

    Returns
    Type Description
    RepositorySection

    The repository configuration section stored in provided configuration, or new empty instance of the section, if provided configuration does not contain it.

    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation