Class HostSetBuilder
Provides the default HostSetBuilder that finds and makes instance of the matching HostSet
based on metabase configuration. You could derive your own builder and register it under
metabase root config Metabank.CONFIG_HOST_SET_BUILDER_SECTION
Inheritance
System.Object
HostSetBuilder
Implements
System.IDisposable
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)
Assembly: Azos.Sky.dll
Syntax
public class HostSetBuilder : ApplicationComponent, IDisposable, IApplicationComponent
Constructors
HostSetBuilder(IApplication, IConfigSectionNode)
Declaration
protected HostSetBuilder(IApplication app, IConfigSectionNode config)
Parameters
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
DoTryFindAndBuild<THostSet>(String, String, Boolean, Boolean)
Declaration
protected virtual THostSet DoTryFindAndBuild<THostSet>(string setName, string clusterPath, bool searchParent, bool transcendNoc)
where THostSet : HostSet
Parameters
Type |
Name |
Description |
System.String |
setName |
|
System.String |
clusterPath |
|
System.Boolean |
searchParent |
|
System.Boolean |
transcendNoc |
|
Returns
Type |
Description |
THostSet |
|
Type Parameters
Name |
Description |
THostSet |
|
DoTryFindConfig(String, String, Boolean, Boolean, out String)
Declaration
protected virtual IConfigSectionNode DoTryFindConfig(string setName, string clusterPath, bool searchParent, bool transcendNoc, out string actualPath)
Parameters
Type |
Name |
Description |
System.String |
setName |
|
System.String |
clusterPath |
|
System.Boolean |
searchParent |
|
System.Boolean |
transcendNoc |
|
System.String |
actualPath |
|
Returns
FindAndBuild<THostSet>(String, String, Boolean, Boolean)
Tries to find a named host set starting at the requested cluster level.
Throws if not found.
Declaration
public THostSet FindAndBuild<THostSet>(string setName, string clusterPath, bool searchParent = true, bool transcendNoc = false)
where THostSet : HostSet
Parameters
Type |
Name |
Description |
System.String |
setName |
|
System.String |
clusterPath |
|
System.Boolean |
searchParent |
|
System.Boolean |
transcendNoc |
|
Returns
Type |
Description |
THostSet |
|
Type Parameters
Name |
Description |
THostSet |
|
TryFindAndBuild<THostSet>(String, String, Boolean, Boolean)
Tries to find a named host set starting at the requested cluster level.
Returns null if not found.
Declaration
public THostSet TryFindAndBuild<THostSet>(string setName, string clusterPath, bool searchParent = true, bool transcendNoc = false)
where THostSet : HostSet
Parameters
Type |
Name |
Description |
System.String |
setName |
|
System.String |
clusterPath |
|
System.Boolean |
searchParent |
|
System.Boolean |
transcendNoc |
|
Returns
Type |
Description |
THostSet |
|
Type Parameters
Name |
Description |
THostSet |
|
Implements
System.IDisposable
Extension Methods