How to use the botbuilder-dialogs-declarative.TypeFactory function in botbuilder-dialogs-declarative

To help you get started, we’ve selected a few botbuilder-dialogs-declarative examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / botbuilder-js / libraries / botbuilder-dialogs-adaptive / src / testing / testRunner.ts View on Github external
constructor(private resourcePath: string) {
        const typeFactory = new TypeFactory();
        const resourceExplorer = new ResourceExplorer();
        resourceExplorer.addFolder(this.resourcePath);

        this.typeLoader = new TypeLoader(typeFactory, resourceExplorer);
        this.typeLoader.addComponent(new AdaptiveComponentRegistration());
        this.typeLoader.addComponent(new AdaptiveTestComponentRegistration());
    }

botbuilder-dialogs-declarative

Declarative library for the Microsoft BotBuilder dialog system.

MIT
Latest version published 22 days ago

Package Health Score

81 / 100
Full package analysis