• 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 RevitAppCommand<TApplication>

Base class to implement Revit Commands linked to a App Container
It will use a scope of the container declared on the App

Inheritance
System.Object
RevitAppCommand<TApplication>
Implements
Autodesk.Revit.UI.IExternalCommand
IRevitDestroyableCommand
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.Commands
Assembly: Onbox.Revit.dll
Syntax
public abstract class RevitAppCommand<TApplication> : IExternalCommand, IRevitDestroyableCommand where TApplication : RevitApp, new()
Type Parameters
Name Description
TApplication

Methods

| Improve this Doc View Source

Execute(ExternalCommandData, ref String, ElementSet)

Execution of External Command

Declaration
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
Parameters
Type Name Description
Autodesk.Revit.UI.ExternalCommandData commandData
System.String message
Autodesk.Revit.DB.ElementSet elements
Returns
Type Description
Autodesk.Revit.UI.Result
| Improve this Doc View Source

Execute(IContainerResolver, ExternalCommandData, ref String, ElementSet)

Execution of External Command

Declaration
public abstract Result Execute(IContainerResolver container, ExternalCommandData commandData, ref string message, ElementSet elements)
Parameters
Type Name Description
IContainerResolver container
Autodesk.Revit.UI.ExternalCommandData commandData
System.String message
Autodesk.Revit.DB.ElementSet elements
Returns
Type Description
Autodesk.Revit.UI.Result
| Improve this Doc View Source

OnDestroy(IContainerResolver)

External Command lifecycle hook which is called just before the scoped container is disposed.

Declaration
public virtual void OnDestroy(IContainerResolver container)
Parameters
Type Name Description
IContainerResolver container

Implements

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