Show / Hide Table of Contents

Class LibraryHandleBase

Defines an abstract base class for library handle classes.

Inheritance
System.Object
LibraryHandleBase
DynamicLibraryHandleBase
LibraryHandle
Implements
ILibraryHandle
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.LibraryManagement
Assembly: Juhta.Net.LibraryManagement.dll
Syntax
public abstract class LibraryHandleBase : ILibraryHandle

Constructors

| Improve this Doc View Source

LibraryHandleBase()

Initializes a new instance.

Declaration
protected LibraryHandleBase()
| Improve this Doc View Source

LibraryHandleBase(String)

Initializes a new instance.

Declaration
protected LibraryHandleBase(string libraryFileName)
Parameters
Type Name Description
System.String libraryFileName

Specifies a value for the LibraryFileName property.

Properties

| Improve this Doc View Source

ConfigFileName

Gets the configuration file name of the library that this LibraryHandleBase instance represents.

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

LibraryFileName

See LibraryFileName.

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

LibraryRootNamespace

Gets the root namespace of the library that this LibraryHandleBase instance represents.

Declaration
public virtual string LibraryRootNamespace { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetEmbeddedConfigAndCommonSchema(Assembly)

Gets the default embedded configuration schema plus the common configuration schema.

Declaration
protected XmlSchema[] GetEmbeddedConfigAndCommonSchema(Assembly containingAssembly)
Parameters
Type Name Description
System.Reflection.Assembly containingAssembly

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

Returns
Type Description
System.Xml.Schema.XmlSchema[]

Returns an array containing two schemas, the default embedded configuration schema and the common configuration schema.

| Improve this Doc View Source

GetEmbeddedConfigAndCommonSchema(Assembly, String, String)

Gets an embedded configuration schema plus the common configuration schema.

Declaration
protected XmlSchema[] GetEmbeddedConfigAndCommonSchema(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 an array containing two schemas, the specified embedded configuration schema and the common configuration schema.

| 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 an 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
protected 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.

Implements

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