Search Results for

    Show / Hide Table of Contents

    Interface IServiceFactory

    Defines an interface for requesting service instances

    Namespace: ImageVault.Common.Services
    Assembly: ImageVault.Common.dll
    Syntax
    public interface IServiceFactory

    Methods

    GetService(Type)

    Gets a service instance of the specified type

    Declaration
    object GetService(Type serviceType)
    Parameters
    Type Name Description
    System.Type serviceType
    Returns
    Type Description
    System.Object

    GetService<T>()

    Gets a service instance of the specified type

    Declaration
    T GetService<T>()
        where T : IService
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022