Skip to main content
Version: v1

MultiDocumentServiceFactory Class

Signature

export declare class MultiDocumentServiceFactory implements IDocumentServiceFactory

Implements: IDocumentServiceFactory

Constructors

ConstructorDescription
(constructor)(documentServiceFactories)Constructs a new instance of the MultiDocumentServiceFactory class

Static Methods

MethodReturn TypeDescription
create(documentServiceFactory)IDocumentServiceFactory

Properties

PropertyTypeDescription
protocolName

Methods

MethodReturn TypeDescription
createContainer(createNewSummary, createNewResolvedUrl, logger, clientIsSummarizer)Promise<IDocumentService>
createDocumentService(resolvedUrl, logger, clientIsSummarizer)Promise<IDocumentService>

Constructor Details

(constructor)

Constructs a new instance of the MultiDocumentServiceFactory class

Signature

constructor(documentServiceFactories: IDocumentServiceFactory[]);

Parameters

ParameterTypeDescription
documentServiceFactoriesIDocumentServiceFactory[]

Property Details

protocolName

Signature

readonly protocolName = "none:";

Method Details

create

Signature

static create(documentServiceFactory: IDocumentServiceFactory | IDocumentServiceFactory[]): IDocumentServiceFactory;

Parameters

ParameterTypeDescription
documentServiceFactoryIDocumentServiceFactory | IDocumentServiceFactory[]

Returns

Return type: IDocumentServiceFactory

createContainer

Signature

createContainer(createNewSummary: ISummaryTree, createNewResolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;

Parameters

ParameterModifiersTypeDescription
createNewSummaryISummaryTree
createNewResolvedUrlIResolvedUrl
loggeroptionalITelemetryBaseLogger
clientIsSummarizeroptionalboolean

Returns

Return type: Promise<IDocumentService>

createDocumentService

Signature

createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;

Parameters

ParameterModifiersTypeDescription
resolvedUrlIResolvedUrl
loggeroptionalITelemetryBaseLogger
clientIsSummarizeroptionalboolean

Returns

Return type: Promise<IDocumentService>