• 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

Class RevitAppBase<TContainer>

The implementation of a generic IContainer type, if you like to use Container, you can use RevitApp implementation instead

IMPORTANT: Any children of this class should implement ContainerProviderAttribute as well

Inheritance
System.Object
RevitContainerProviderBase
RevitAppBase<TContainer>
RevitApp
Implements
IRevitExternalApp
Autodesk.Revit.UI.IExternalApplication
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Onbox.Revit.V8.Applications
Assembly: Onbox.Revit.dll
Syntax
public abstract class RevitAppBase<TContainer> : RevitContainerProviderBase, IRevitExternalApp, IExternalApplication where TContainer : class, IContainer, new()
Type Parameters
Name Description
TContainer

The contract for container implementations

Methods

| Improve this Doc View Source

OnCreateRibbon(IRibbonManager)

Lifecycle hook to create Ribbon UI when Revit starts.

Declaration
public virtual void OnCreateRibbon(IRibbonManager ribbonManager)
Parameters
Type Name Description
IRibbonManager ribbonManager
| Improve this Doc View Source

OnShutdown(UIControlledApplication)

Implement this method to execute some tasks when Autodesk Revit shuts down.

Declaration
public Result OnShutdown(UIControlledApplication application)
Parameters
Type Name Description
Autodesk.Revit.UI.UIControlledApplication application
Returns
Type Description
Autodesk.Revit.UI.Result
| Improve this Doc View Source

OnShutdown(IContainerResolver, UIControlledApplication)

Implement this method to execute some tasks when Autodesk Revit shuts down.

Declaration
public abstract Result OnShutdown(IContainerResolver container, UIControlledApplication application)
Parameters
Type Name Description
IContainerResolver container
Autodesk.Revit.UI.UIControlledApplication application
Returns
Type Description
Autodesk.Revit.UI.Result
| Improve this Doc View Source

OnStartup(UIControlledApplication)

Implement this method to execute some tasks when Autodesk Revit starts.

Declaration
public Result OnStartup(UIControlledApplication application)
Parameters
Type Name Description
Autodesk.Revit.UI.UIControlledApplication application
Returns
Type Description
Autodesk.Revit.UI.Result
| Improve this Doc View Source

OnStartup(IContainer, UIControlledApplication)

Implement this method to execute some tasks when Autodesk Revit starts.

Declaration
public abstract Result OnStartup(IContainer container, UIControlledApplication application)
Parameters
Type Name Description
IContainer container
Autodesk.Revit.UI.UIControlledApplication application
Returns
Type Description
Autodesk.Revit.UI.Result

Implements

IRevitExternalApp
Autodesk.Revit.UI.IExternalApplication
  • Improve this Doc
  • View Source
Back to top Generated by DocFX