botbuilder-core
Version:
Core components for Microsoft Bot Builder. Components in this library can run either in a browser or on the server.
26 lines • 804 B
TypeScript
/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* ComponentRegistration is a signature class for discovering assets from components.
*/
export declare class ComponentRegistration {
private static readonly _components;
/**
* Gets list of all ComponentRegistration objects registered.
*
* @returns A list of ComponentRegistration objects.
*/
static get components(): ComponentRegistration[];
/**
* Add a component, only one instance per type is allowed for components.
*
* @param componentRegistration The component to be registered.
*/
static add(componentRegistration: ComponentRegistration): void;
}
//# sourceMappingURL=componentRegistration.d.ts.map