Show / Hide Table of Contents

    Interface IApplicationContext

    Interface that represents the common context of the entire application.

    Namespace: Fibula.Common.Contracts.Abstractions
    Assembly: Fibula.Common.Contracts.dll
    Syntax
    public interface IApplicationContext

    Properties

    | Improve this Doc View Source

    CancellationTokenSource

    Gets the master cancellation token source.

    Declaration
    CancellationTokenSource CancellationTokenSource { get; }
    Property Value
    Type Description
    System.Threading.CancellationTokenSource
    | Improve this Doc View Source

    DefaultDatabaseContext

    Gets the default database context to use.

    Declaration
    IFibulaDbContext DefaultDatabaseContext { get; }
    Property Value
    Type Description
    IFibulaDbContext
    | Improve this Doc View Source

    Options

    Gets the options for the application.

    Declaration
    ApplicationContextOptions Options { get; }
    Property Value
    Type Description
    ApplicationContextOptions
    | Improve this Doc View Source

    RsaDecryptor

    Gets the RSA decryptor to use.

    Declaration
    IRsaDecryptor RsaDecryptor { get; }
    Property Value
    Type Description
    IRsaDecryptor
    | Improve this Doc View Source

    TelemetryClient

    Gets the Telemetry client in use.

    Declaration
    TelemetryClient TelemetryClient { get; }
    Property Value
    Type Description
    Microsoft.ApplicationInsights.TelemetryClient

    Methods

    | Improve this Doc View Source

    CreateNewUnitOfWork()

    Creates a new IUnitOfWork<TAccountsRepository, TCharactersRepository, TMonsterTypesRepository, TItemTypesRepository> for data access.

    Declaration
    IUnitOfWork<IRepository<IAccountEntity>, IRepository<ICharacterEntity>, IReadOnlyRepository<IMonsterTypeEntity>, IReadOnlyRepository<IItemTypeEntity>> CreateNewUnitOfWork()
    Returns
    Type Description
    IUnitOfWork<IRepository<IAccountEntity>, IRepository<ICharacterEntity>, IReadOnlyRepository<IMonsterTypeEntity>, IReadOnlyRepository<IItemTypeEntity>>

    The instance created.

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.