Class Metabank.SectionRegion
Represents metadata for Region
Inheritance
System.Object
Metabank.SectionRegion
Implements
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)
Namespace: Azos.Sky.Metabase
Assembly: Azos.Sky.dll
Syntax
public sealed class SectionRegion : Metabank.SectionRegionBase, INamed
Properties
AllNOCs
Returns all NOC sections that this region and all sub-regions contain. This property may fetch much data for large cloud if enumerated to the end
Declaration
public IEnumerable<Metabank.SectionNOC> AllNOCs { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Metabank.SectionNOC> |
Item[String]
Navigates to a named child region or NOC. The search is done using case-insensitive comparison, however the underlying file system may be case-sensitive and must be supplied the exact name
Declaration
public override Metabank.SectionRegionBase this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
Metabank.SectionRegionBase |
Overrides
NOCNames
Gets names of network op centers in this region
Declaration
public IEnumerable<string> NOCNames { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
ParentRegion
Returns parent region for this region or null if this region is top-level
Declaration
public Metabank.SectionRegion ParentRegion { get; }
Property Value
Type | Description |
---|---|
Metabank.SectionRegion |
RootNodeName
Declaration
public override string RootNodeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
SubRegionNames
Returns names of child regions
Declaration
public IEnumerable<string> SubRegionNames { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Methods
GetNOC(String)
Gets child network operation center by name
Declaration
public Metabank.SectionNOC GetNOC(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
Metabank.SectionNOC |
GetSubRegion(String)
Gets sub-region by name
Declaration
public Metabank.SectionRegion GetSubRegion(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
Metabank.SectionRegion |
Validate(Metabank.ValidationContext)
Declaration
public override void Validate(Metabank.ValidationContext ctx)
Parameters
Type | Name | Description |
---|---|---|
Metabank.ValidationContext | ctx |