Show / Hide Table of Contents

    Class MetadataElement

    Represents a configuration element containing configuration related to service metadata generation process.

    Inheritance
    Object
    MetadataElement
    Namespace: Nevatech.Vsb.Repository.Configuration
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class MetadataElement : ConfigurationElement

    Constructors

    MetadataElement()

    Declaration
    public MetadataElement()

    Fields

    MaximumReferencesAttributeName

    Name of the attribute representing Maximum Reference Count property in the configuration element.

    Declaration
    public const string MaximumReferencesAttributeName = "maximumReferences"
    Field Value
    Type Description
    String

    OperationTimeoutAttributeName

    Name of the attribute representing Operation Timeout property in the configuration element.

    Declaration
    public const string OperationTimeoutAttributeName = "timeout"
    Field Value
    Type Description
    String

    PolicyVersionAttributeName

    Name of the attribute representing Policy Version property in the configuration element.

    Declaration
    public const string PolicyVersionAttributeName = "policyVersion"
    Field Value
    Type Description
    String

    SerializerAttributeName

    Name of the attribute representing Serializer property in the configuration element.

    Declaration
    public const string SerializerAttributeName = "serializer"
    Field Value
    Type Description
    String

    SwaggerViewerUrlAttributeName

    Name of the attribute representing Swagger Viewer URL property in the configuration element.

    Declaration
    public const string SwaggerViewerUrlAttributeName = "swaggerViewerUrl"
    Field Value
    Type Description
    String

    Properties

    MaximumReferences

    Gets or sets the maximum number of references to metadata that the metadata client can download. Default is 100.

    Declaration
    public int MaximumReferences { get; set; }
    Property Value
    Type Description
    Int32

    OperationTimeout

    Gets or sets the period of time within which the metadata must be downloaded before an exception is thrown. Default is 2 minutes.

    Declaration
    public TimeSpan OperationTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan

    PolicyVersion

    Gets or sets WS-Policy version that will be used for metadata export. The default version is Default which is WS-Policy 1.2.

    Declaration
    public PolicyVersion PolicyVersion { get; set; }
    Property Value
    Type Description
    PolicyVersion

    Properties

    Gets collection of configuration element properties.

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

    Serializer

    Gets or sets the type of the serializer that will be used for metadata parsing and code generation. Default is Auto.

    Declaration
    public SerializerMode Serializer { get; set; }
    Property Value
    Type Description
    SerializerMode

    SwaggerViewerUrl

    Gets or sets the URL to a Swagger UI viewer to be used for showing Swagger documents. The URL may contain "{0}" tokens that will be replaced with the metadata section identifier.

    Declaration
    public Uri SwaggerViewerUrl { get; set; }
    Property Value
    Type Description
    Uri
    Back to top Nevatech Sentinet 6.5 Online Documentation