Class RepositoryIndexer
Data object links (parents and childs) indexer
Inherited Members
Namespace: XData
Assembly: XData.docfx.dll
Syntax
public sealed class RepositoryIndexer : IEnumerable<IRepository>, IEnumerable
Properties
| Improve this Doc View SourceCount
Indexer count
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Item[String]
Repository indexer
Declaration
public IRepository this[string alias] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| String | alias | Repository alias |
Property Value
| Type | Description |
|---|---|
| IRepository |
Methods
| Improve this Doc View SourceContains(String)
Indexer contains repository by alias
Declaration
public bool Contains(string alias)
Parameters
| Type | Name | Description |
|---|---|---|
| String | alias | Repository alias |
Returns
| Type | Description |
|---|---|
| Boolean | Contains flag |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<IRepository> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<IRepository> | A IEnumerator<T> that can be used to iterate through the collection. |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator | An IEnumerator object that can be used to iterate through the collection. |