Interface IRegistry<T>
Provides read-only named object lookup capabilities
Inherited Members
System.Collections.Generic.IEnumerable<T>.GetEnumerator()
Assembly: Azos.dll
Syntax
public interface IRegistry<out T> : IEnumerable<T>, IEnumerable where T : INamed
Type Parameters
Properties
Count
Returns the count of items registered in this instance
Declaration
Property Value
Type |
Description |
System.Int32 |
|
IsCaseSensitive
Returns true if the instance differentiates names by case
Declaration
bool IsCaseSensitive { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[String]
Returns item by name or default item (such as null) if the named instance could not be found
Declaration
T this[string name] { get; }
Parameters
Type |
Name |
Description |
System.String |
name |
|
Property Value
Names
Declaration
IEnumerable<string> Names { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Values
Declaration
IEnumerable<T> Values { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Methods
ContainsName(String)
Returns true if when this registry contains the specified name
Declaration
bool ContainsName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods