Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AutomapperModule

Implements

  • OnModuleInit

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly explorer

Static Private Readonly logger

logger: Logger = new Logger('AutomapperModule')

Methods

onModuleInit

  • onModuleInit(): void

Static forRoot

  • Initialize an AutoMapper instance with a name. Default to "default"

    Generally, forRoot only needs to be ran once to provide a singleton for the whole application

    deprecated

    Please use withMapper instead

    Parameters

    Returns DynamicModule

Static withMapper

  • withMapper(name?: undefined | string, globalSettings?: AutoMapperGlobalSettings): DynamicModule
  • withMapper(globalSettings?: AutoMapperGlobalSettings): DynamicModule
  • Initialize a Mapper with name and globalSettings

    Parameters

    • Optional name: undefined | string

      name of the Mapper instance. Default to 'default'

    • Optional globalSettings: AutoMapperGlobalSettings

      Global Settings for the current Mapper instance

    Returns DynamicModule

  • Parameters

    • Optional globalSettings: AutoMapperGlobalSettings

    Returns DynamicModule

Legend

  • Constructor
  • Method
  • Private property
  • Private method
  • Property
  • Static method

Generated using TypeDoc