Show / Hide Table of Contents

    Class RegistryBase<TKey, TValue>

    Inheritance
    System.Object
    RegistryBase<TKey, TValue>
    Implements
    IRegistryBase<TKey, TValue>
    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)
    System.Object.ToString()
    Namespace: Catalyst.Abstractions.Registry
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public abstract class RegistryBase<TKey, TValue> : IRegistryBase<TKey, TValue>, IDisposable where TKey : Enumeration where TValue : class
    Type Parameters
    Name Description
    TKey
    TValue

    Properties

    | Improve this Doc View Source

    Registry

    Declaration
    protected IDictionary<TKey, TValue> Registry { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<TKey, TValue>

    Methods

    | Improve this Doc View Source

    AddItemToRegistry(TKey, TValue)

    Declaration
    public bool AddItemToRegistry(TKey identifier, TValue item)
    Parameters
    Type Name Description
    TKey identifier
    TValue item
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetItemFromRegistry(TKey)

    Declaration
    public TValue GetItemFromRegistry(TKey identifier)
    Parameters
    Type Name Description
    TKey identifier
    Returns
    Type Description
    TValue
    | Improve this Doc View Source

    RegistryContainsKey(TKey)

    Declaration
    public bool RegistryContainsKey(TKey identifier)
    Parameters
    Type Name Description
    TKey identifier
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RemoveItemFromRegistry(TKey)

    Declaration
    public bool RemoveItemFromRegistry(TKey identifier)
    Parameters
    Type Name Description
    TKey identifier
    Returns
    Type Description
    System.Boolean

    Explicit Interface Implementations

    | Improve this Doc View Source

    IDisposable.Dispose()

    Declaration
    void IDisposable.Dispose()

    Implements

    IRegistryBase<TKey, TValue>
    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network