Show / Hide Table of Contents

    Class QuantumRegistry

    Inheritance
    Object
    QuantumRegistry
    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    public static class QuantumRegistry

    Methods

    ClearRegistryContents(Type)

    clears the contents of the specified registry.

    Declaration
    public static void ClearRegistryContents(Type type)
    Parameters
    Type Name Description
    Type type

    The registry to clear.

    ClearRegistryContents<T>()

    clears the contents of the specified registry.

    Declaration
    public static void ClearRegistryContents<T>()
    
        where T : class
    Type Parameters
    Name Description
    T

    The registry to clear.

    DeregisterObject(Type, Object)

    Removes the object to the registry.

    Declaration
    public static void DeregisterObject(Type type, object obj)
    Parameters
    Type Name Description
    Type type

    The type of the object to remove from the registry.

    Object obj

    The object to remove from the registry.

    DeregisterObject<T>(T)

    Removes the object from the registry.

    Declaration
    public static void DeregisterObject<T>(T obj)
    
        where T : class
    Parameters
    Type Name Description
    T obj

    The object to remove from the registry.

    Type Parameters
    Name Description
    T

    The type of the object to remove from the registry.

    GetRegistryContents(Type)

    Gets the contents of the specified registry.

    Declaration
    public static IEnumerable<object> GetRegistryContents(Type type)
    Parameters
    Type Name Description
    Type type

    The registry to query.

    Returns
    Type Description
    IEnumerable<Object>

    The registry contents.

    GetRegistryContents<T>()

    Gets the contents of the specified registry.

    Declaration
    public static IEnumerable<T> GetRegistryContents<T>()
    
        where T : class
    Returns
    Type Description
    IEnumerable<T>

    The registry contents.

    Type Parameters
    Name Description
    T

    The registry to query.

    GetRegistrySize(Type)

    Gets the size of the specified registry.

    Declaration
    public static int GetRegistrySize(Type type)
    Parameters
    Type Name Description
    Type type

    The registry to query.

    Returns
    Type Description
    Int32

    The registry size.

    GetRegistrySize<T>()

    Gets the size of the specified registry.

    Declaration
    public static int GetRegistrySize<T>()
    
        where T : class
    Returns
    Type Description
    Int32

    The registry size.

    Type Parameters
    Name Description
    T

    The registry to query.

    RegisterObject(Type, Object)

    Adds the object to the registry.

    Declaration
    public static void RegisterObject(Type type, object obj)
    Parameters
    Type Name Description
    Type type

    The type of the object to add to the registry.

    Object obj

    The object to add to the registry.

    RegisterObject<T>(T)

    Adds the object to the registry.

    Declaration
    public static void RegisterObject<T>(T obj)
    
        where T : class
    Parameters
    Type Name Description
    T obj

    The object to add to the registry.

    Type Parameters
    Name Description
    T

    The type of the object to add to the registry.

    Quantum Console by QFSW
    Back to top