• 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 Mapper

Onbox implementation of mapper service. Similar to Automapper

Inheritance
System.Object
Mapper
Implements
IMapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Onbox.Core.V8.Mapping
Assembly: Onbox.Core.dll
Syntax
public class Mapper : IMapper

Constructors

| Improve this Doc View Source

Mapper(IMapperOperator)

Creates a new mapper object

Declaration
public Mapper(IMapperOperator mapperOperator)
Parameters
Type Name Description
IMapperOperator mapperOperator

Methods

| Improve this Doc View Source

Clone<TSource>(TSource)

Clones an object (Maps to a new instance)

Declaration
public TSource Clone<TSource>(TSource source)
    where TSource : new()
Parameters
Type Name Description
TSource source
Returns
Type Description
TSource

The cloned object with all properties copied

Type Parameters
Name Description
TSource
| Improve this Doc View Source

Clone<TSource>(Object)

Clones an object (Maps to a new instance)

Declaration
public TSource Clone<TSource>(object source)
    where TSource : new()
Parameters
Type Name Description
System.Object source
Returns
Type Description
TSource

The cloned object with all properties copied

Type Parameters
Name Description
TSource
| Improve this Doc View Source

Map<TSorce, TTarget>(TSorce, TTarget)

Maps one object to another

Declaration
public void Map<TSorce, TTarget>(TSorce source, TTarget target)
    where TSorce : new()
    where TTarget : new()
Parameters
Type Name Description
TSorce source

The source object

TTarget target

The target objects that the properties will be copied to

Type Parameters
Name Description
TSorce
TTarget

Implements

IMapper
  • Improve this Doc
  • View Source
Back to top Generated by DocFX