• Getting Started
  • Tutorials
  • Api Documentation
Show / Hide Table of Contents
  • Onbox.Abstractions.V8
    • IContainer
    • IContainerPipeline
    • IContainerResolver
    • IContainerResolverPipeline
    • IHttpService
    • IJsonService
    • ILoggingService
    • IMapper
    • IMessageService
    • IProgressIndicator
  • Onbox.Core.V8
    • CoreExtensions
    • OnboxExceptionBase
  • Onbox.Core.V8.Http
    • HttpExtensions
    • HttpInterceptor
    • HttpService
    • HttpSettings
    • IHttpInterceptor
  • Onbox.Core.V8.Json
    • JsonExtensions
    • JsonService
  • Onbox.Core.V8.Logging
    • FileLoggingService
    • FileLoggingSettings
  • Onbox.Core.V8.Mapping
    • IMapperActionManager
    • IMapperOperator
    • Mapper
    • MapperActionManager
    • MapperOperator
  • Onbox.Core.V8.Messaging
    • MessageDebugService
  • Onbox.Core.V8.ReactFactory
    • Debouncer
    • Interval
    • ReactFactory
  • Onbox.Core.V8.Reporting
    • ProgressCancelledException
    • ProgressConsoleDebugIndicator
  • Onbox.Di.V8
    • Container
  • Onbox.Mvc.Abstractions.V8
    • IMvcComponent
    • IMvcLifecycleComponent
    • IMvcLifecycleView
    • IMvcView
    • IMvcViewModal
    • IMvcViewModeless
  • Onbox.Mvc.Revit.Abstractions.V8
    • IRevitMvcViewBase
  • Onbox.Mvc.V8
    • TitleVisibility
  • Onbox.Revit.Abstractions.V8
    • IRevitAppData
  • Onbox.Revit.V8
    • ContainerProviderAttribute
    • IRevitContext
    • IRevitExternalApp
    • RevitAppData
    • RevitContainerProviderBase
    • RevitLanguage
  • Onbox.Revit.V8.Applications
    • ContainerPipelineExtensions
    • RevitApp
    • RevitAppBase<TContainer>
  • Onbox.Revit.V8.Async
    • IRevitEventHandler
    • RevitAsyncExtensions
    • RevitAsyncSettings
    • RevitExternalHandler
  • Onbox.Revit.V8.Commands
    • IRevitDestroyableCommand
    • RevitAppCommand<TApplication>
    • RevitContainerCommand<TContainerPipeline>
    • RevitContainerCommandBase<TContainerPipeline, TContainer>
  • Onbox.Revit.V8.ExtensibleStorage
    • AccessLevel
    • IRevitJsonStorage<T>
    • RevitExtensibleStorageEntensions
    • RevitExtensibleStorageSettings
    • RevitJsonStorage<T>
    • RevitSchemaSettings
    • RevitStorageBuilder
  • Onbox.Revit.V8.UI
    • ImageManager
    • IRibbonManager
    • IRibbonPanelManager
    • IRibbonTabManager
    • RibbonHelpers
    • RibbonManager
    • RibbonPanelManager
    • RibbonTabManager
  • Onbox.Store.V8
    • IStorageSubscription
    • IStore<TState>
    • IStoreAction<TState, TSlice>
    • StateEntry<TState>
    • StorageSubscription
    • Store<TState>
    • StoreExtensions

Interface IContainer

Onbox's IOC container contract

Inherited Members
IContainerResolver.Resolve<T>()
IContainerResolver.Resolve(Type)
IContainerResolver.CreateScope()
System.IDisposable.Dispose()
Namespace: Onbox.Abstractions.V8
Assembly: Onbox.Abstractions.dll
Syntax
public interface IContainer : IContainerResolver, IDisposable

Methods

| Improve this Doc View Source

AddScoped<TImplementation>()

Adds a scoped implementation on the container.

Declaration
void AddScoped<TImplementation>()
    where TImplementation : class
Type Parameters
Name Description
TImplementation
| Improve this Doc View Source

AddScoped<TContract, TImplementation>()

Adds a scoped implementation to a contract on the container.

Declaration
void AddScoped<TContract, TImplementation>()
    where TImplementation : class, TContract
Type Parameters
Name Description
TContract
TImplementation
| Improve this Doc View Source

AddSingleton<TImplementation>()

Adds an implementation as a singleton on the container.

Declaration
void AddSingleton<TImplementation>()
    where TImplementation : class
Type Parameters
Name Description
TImplementation
| Improve this Doc View Source

AddSingleton<TImplementation>(TImplementation)

Adds an instance as a singleton on the container

Declaration
void AddSingleton<TImplementation>(TImplementation instance)
    where TImplementation : class
Parameters
Type Name Description
TImplementation instance
Type Parameters
Name Description
TImplementation
| Improve this Doc View Source

AddSingleton<TContract, TImplementation>()

Adds an implementation to a contract as a singleton on the container

Declaration
void AddSingleton<TContract, TImplementation>()
    where TImplementation : class, TContract
Type Parameters
Name Description
TContract
TImplementation
| Improve this Doc View Source

AddSingleton<TContract, TImplementation>(TImplementation)

Adds an instance as a singleton on the container

Declaration
void AddSingleton<TContract, TImplementation>(TImplementation instance)
    where TImplementation : TContract
Parameters
Type Name Description
TImplementation instance
Type Parameters
Name Description
TContract
TImplementation
| Improve this Doc View Source

AddTransient<TImplementation>()

Adds an implementation as a transient on the container.

Declaration
void AddTransient<TImplementation>()
    where TImplementation : class
Type Parameters
Name Description
TImplementation
| Improve this Doc View Source

AddTransient<TContract, TImplementation>()

Adds an implementation to a contract as transient on the container

Declaration
void AddTransient<TContract, TImplementation>()
    where TImplementation : class, TContract
Type Parameters
Name Description
TContract
TImplementation
| Improve this Doc View Source

Clear()

Resets the entire container

Declaration
void Clear()

Extension Methods

CoreExtensions.AddOnboxCore(IContainer)
CoreExtensions.AddFileLogging(IContainer, Action<FileLoggingSettings>)
CoreExtensions.AddMapper(IContainer, Action<MapperActionManager>)
HttpExtensions.AddHttp(IContainer)
HttpExtensions.AddHttp(IContainer, Action<HttpSettings>)
HttpExtensions.AddHttp(IContainer, IHttpInterceptor, Action<HttpSettings>)
HttpExtensions.AddHttp<TInterceptor>(IContainer, Action<HttpSettings>)
HttpExtensions.AddHttp(IContainer, Action<HttpSettings>, Action<HttpRequestMessage>, Action<HttpResponseMessage>)
HttpExtensions.ConfigureHttp(IContainer, Action<HttpSettings>)
JsonExtensions.AddJson(IContainer)
JsonExtensions.AddJson(IContainer, Action<JsonSerializerSettings>)
JsonExtensions.ConfigureJson(IContainer, Action<JsonSerializerSettings>)
StoreExtensions.AddStore<T>(IContainer)
ContainerPipelineExtensions.Pipe<T>(IContainer)
ContainerPipelineExtensions.Pipe<T>(IContainerResolver)
RevitAsyncExtensions.AddRevitAsync(IContainer, Action<RevitAsyncSettings>)
RevitExtensibleStorageEntensions.CreateExtensibleStorageBuilder(IContainer)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX