File

projects/wms-framework/src/lib/regionsframework/IRegionAdapter.ts

Description

Region adapter interface

Index

Methods

Methods

Initialize
Initialize(regionTarget: object, regionName: string)

Adapts an object and binds it to a new IRegion

Parameters :
Name Type Optional Description
regionTarget object No

The object to adapt.

regionName string No

The name of the region to be created.

Returns : IRegion
import { IRegion } from './IRegion';

/**
 *   Region adapter interface
 *
 * @export
 * @interface IRegionAdapter
 * @wInterface Microsoft.Practices.Prism.Regions.IRegionAdapter
 */
export interface IRegionAdapter {
  /**
   * Adapts an object and binds it to a new IRegion
   * @param regionTarget The object to adapt.
   * @param regionName The name of the region to be created.
   */
  Initialize(regionTarget: object, regionName: string): IRegion;
}

result-matching ""

    No results matching ""