Class LibraryHandleBase
Defines an abstract base class for library handle classes.
Implements
Inherited Members
Namespace: Juhta.Net.LibraryManagement
Assembly: Juhta.Net.LibraryManagement.dll
Syntax
public abstract class LibraryHandleBase : ILibraryHandle
Constructors
| Improve this Doc View SourceLibraryHandleBase()
Initializes a new instance.
Declaration
protected LibraryHandleBase()
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 SourceConfigFileName
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 |
LibraryFileName
See LibraryFileName.
Declaration
public virtual string LibraryFileName { get; }
Property Value
Type | Description |
---|---|
System.String |
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 SourceGetEmbeddedConfigAndCommonSchema(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. |
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. |
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. |
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. |