MultiDocumentServiceFactory Class
Signature
export declare class MultiDocumentServiceFactory implements IDocumentServiceFactory
Implements: IDocumentServiceFactory
Constructors
| Constructor | Description |
|---|---|
| (constructor)(documentServiceFactories) | Constructs a new instance of the MultiDocumentServiceFactory class |
Static Methods
| Method | Return Type | Description |
|---|---|---|
| create(documentServiceFactory) | IDocumentServiceFactory |
Properties
| Property | Type | Description |
|---|---|---|
| protocolName |
Methods
| Method | Return Type | Description |
|---|---|---|
| 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
| Parameter | Type | Description |
|---|---|---|
| documentServiceFactories | IDocumentServiceFactory[] |
Property Details
protocolName
Signature
readonly protocolName = "none:";
Method Details
create
Signature
static create(documentServiceFactory: IDocumentServiceFactory | IDocumentServiceFactory[]): IDocumentServiceFactory;
Parameters
| Parameter | Type | Description |
|---|---|---|
| documentServiceFactory | IDocumentServiceFactory | IDocumentServiceFactory[] |
Returns
Return type: IDocumentServiceFactory
createContainer
Signature
createContainer(createNewSummary: ISummaryTree, createNewResolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
Parameters
| Parameter | Modifiers | Type | Description |
|---|---|---|---|
| createNewSummary | ISummaryTree | ||
| createNewResolvedUrl | IResolvedUrl | ||
| logger | optional | ITelemetryBaseLogger | |
| clientIsSummarizer | optional | boolean |
Returns
Return type: Promise<IDocumentService>
createDocumentService
Signature
createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
Parameters
| Parameter | Modifiers | Type | Description |
|---|---|---|---|
| resolvedUrl | IResolvedUrl | ||
| logger | optional | ITelemetryBaseLogger | |
| clientIsSummarizer | optional | boolean |
Returns
Return type: Promise<IDocumentService>