Show / Hide Table of Contents

    Class ConfigurationSettings

    Represents application configuration settings stored mostly in the database.

    Inheritance
    Object
    ConfigurationSettings
    Implements
    IExtensibleDataObject
    IValidator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class ConfigurationSettings : IExtensibleDataObject, IValidator

    Constructors

    ConfigurationSettings()

    Declaration
    public ConfigurationSettings()

    Properties

    Current

    Gets or sets the singleton instance providing configuration settings.

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

    DatabaseVersion

    Gets or sets the version of the database schema that repository is working with.

    Declaration
    public string DatabaseVersion { get; set; }
    Property Value
    Type Description
    String

    DeveloperPortal

    Gets the Developer Portal configuration settings.

    Declaration
    public PortalSettings DeveloperPortal { get; }
    Property Value
    Type Description
    PortalSettings

    DocumentationUrl

    Gets URL to the product documentation/help base page.

    Declaration
    public Uri DocumentationUrl { get; }
    Property Value
    Type Description
    Uri

    ErrorMessage

    Gets the summary of validation errors populated by the call to Validate() method.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    String

    ExtensionData

    Gets or sets ExtensionDataObject that enables serialization round trips.

    Declaration
    public ExtensionDataObject ExtensionData { get; set; }
    Property Value
    Type Description
    ExtensionDataObject

    IsFullTextEnabled

    Gets flag indicating that full text search is enabled for recorded message content.

    Declaration
    public bool IsFullTextEnabled { get; }
    Property Value
    Type Description
    Boolean

    License

    Gets the information about the product license and available capabilities.

    Declaration
    public LicenseInfo License { get; }
    Property Value
    Type Description
    LicenseInfo

    ReportingTime

    Gets current date and time in the reporting time zone defined in ReportingTimeZoneId property.

    Declaration
    public DateTime ReportingTime { get; }
    Property Value
    Type Description
    DateTime

    ReportingTimeZone

    Gets time zone corresponding to the identifier defined in ReportingTimeZoneId property. This time zone is used to aggregate and present monitoring data.

    Declaration
    public TimeZoneInfo ReportingTimeZone { get; }
    Property Value
    Type Description
    TimeZoneInfo

    ReportingTimeZoneId

    Gets or sets identifier of the local time zone. The time zone specified is used to aggregate and present monitoring data.

    Declaration
    public string ReportingTimeZoneId { get; set; }
    Property Value
    Type Description
    String

    ReportingTimeZoneName

    Gets the general display name of the reporting time zone.

    Declaration
    public string ReportingTimeZoneName { get; }
    Property Value
    Type Description
    String

    ReportingTimeZoneOffset

    Gets the difference between the time in time zone defined in ReportingTimeZoneId property and the current Coordinated Universal Time (UTC). Property returns Null, if time zone is not set.

    Declaration
    public TimeSpan? ReportingTimeZoneOffset { get; }
    Property Value
    Type Description
    Nullable<TimeSpan>
    Remarks

    Note that this property can return different result for the same time zone depending on the current time of the year.

    RepositoryVersion

    Gets version of the services (middle-tier) providing interface to repository.

    Declaration
    public string RepositoryVersion { get; }
    Property Value
    Type Description
    String

    SwaggerViewerUrl

    Gets URL to Swagger UI viewer to be used for showing Swagger documents.

    Declaration
    public Uri SwaggerViewerUrl { get; }
    Property Value
    Type Description
    Uri

    UserClaimIssuer

    Gets currently configured Sentinet user authentication claim issuer.

    Declaration
    public string UserClaimIssuer { get; }
    Property Value
    Type Description
    String

    UserClaimType

    Gets currently configured Sentinet user authentication claim type.

    Declaration
    public string UserClaimType { get; }
    Property Value
    Type Description
    String

    Methods

    Load()

    Loads property values from database using default connection string.

    Declaration
    public void Load()

    Save()

    Saves property values to database using default connection string.

    Declaration
    public void Save()

    Validate()

    Validates this object's state.

    Declaration
    public bool Validate()
    Returns
    Type Description
    Boolean

    True if object's state is valid; otherwise, false.

    Implements

    System.Runtime.Serialization.IExtensibleDataObject
    IValidator
    Back to top Nevatech Sentinet 6.5 Online Documentation