Show / Hide Table of Contents

Class FrameworkConfig

A static class providing common methods and properties related to configuration files of the framework libraries.

Inheritance
System.Object
FrameworkConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Juhta.Net.Framework
Assembly: Juhta.Net.dll
Syntax
public static class FrameworkConfig

Properties

| Improve this Doc View Source

CommonConfigSchemaFileName

Gets the file name of the common configuration XML schema.

Declaration
public static string CommonConfigSchemaFileName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CommonConfigSchemaFileNamespace

Gets the file namespace of the common configuration XML schema.

Declaration
public static string CommonConfigSchemaFileNamespace { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CommonConfigSchemaVersion

Gets the version of the common configuration XML schema.

Declaration
public static string CommonConfigSchemaVersion { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RootXmlns

Gets the root XML namespace for the configuration schemas of the framework libraries.

Declaration
public static string RootXmlns { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

CreateNamespaceManager(String, XmlNode, String)

Creates an System.Xml.XmlNamespaceManager object corresponding to a specified framework library, XML configuration and schema version.

Declaration
public static XmlNamespaceManager CreateNamespaceManager(string libraryFileName, XmlNode anyConfigNode, string schemaVersion)
Parameters
Type Name Description
System.String libraryFileName

Specifies a framework library file name.

System.Xml.XmlNode anyConfigNode

Specifies an System.Xml.XmlNode object containing in a library configuration.

System.String schemaVersion

Specifies the schema version of the library configuration.

Returns
Type Description
System.Xml.XmlNamespaceManager

Returns the created System.Xml.XmlNamespaceManager object specified by the parameters.

| Improve this Doc View Source

GetEmbeddedCommonConfigSchema()

Gets the embedded schema for the common configuration.

Declaration
public static XmlSchema GetEmbeddedCommonConfigSchema()
Returns
Type Description
System.Xml.Schema.XmlSchema

Returns the embedded schema for the common configuration.

| Improve this Doc View Source

GetEmbeddedConfigSchema(Assembly)

Gets the default embedded configuration schema from a specified assembly.

Declaration
public static XmlSchema GetEmbeddedConfigSchema(Assembly containingAssembly)
Parameters
Type Name Description
System.Reflection.Assembly containingAssembly

Specifies an assembly where the default embedded configuration schema will be searched for.

Returns
Type Description
System.Xml.Schema.XmlSchema

Returns the default embedded configuration schema from the specified assembly.

| Improve this Doc View Source

GetEmbeddedConfigSchema(Assembly, String, String)

Gets an embedded configuration schema from a specified assembly.

Declaration
public static XmlSchema GetEmbeddedConfigSchema(Assembly containingAssembly, string configSchemaFileNamespace, string configSchemaFileName)
Parameters
Type Name Description
System.Reflection.Assembly containingAssembly

Specifies an assembly where an embedded configuration schema will be searched for.

System.String configSchemaFileNamespace

Specifies the file namespace of an embedded configuration schema.

System.String configSchemaFileName

Specifies the file name of an embedded configuration schema.

Returns
Type Description
System.Xml.Schema.XmlSchema

Returns the embedded configuration schema from the specified assembly corresponding to the specified file namespace and name.

| Improve this Doc View Source

GetLibraryConfigXmlns(String, String)

Gets the configuration schema namespace for a framework library.

Declaration
public static string GetLibraryConfigXmlns(string libraryFileName, string schemaVersion)
Parameters
Type Name Description
System.String libraryFileName

Specifies a framework library file name.

System.String schemaVersion

Specifies a schema version.

Returns
Type Description
System.String

Returns the configuration schema namespace for the specified framework library.

  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX