Skip to main content
Version: v1

MockSharedObjectServices Class

Mock implementation of IChannelServices

Signature

export declare class MockSharedObjectServices implements IChannelServices

Implements: IChannelServices

Constructors

Constructor Description
(constructor)(contents) Constructs a new instance of the MockSharedObjectServices class

Static Methods

Method Return Type Description
createFromSummary(summaryTree) MockSharedObjectServices

Properties

Property Type Description
deltaConnection IDeltaConnection
objectStorage MockObjectStorageService

Constructor Details

(constructor)

Constructs a new instance of the MockSharedObjectServices class

Signature

constructor(contents: {
[key: string]: string;
});

Parameters

Parameter Type Description
contents { [key: string]: string; }

Property Details

deltaConnection

Signature

deltaConnection: IDeltaConnection;

Type: IDeltaConnection

objectStorage

Signature

objectStorage: MockObjectStorageService;

Type: MockObjectStorageService

Method Details

createFromSummary

Signature

static createFromSummary(summaryTree: ISummaryTree): MockSharedObjectServices;

Parameters

Parameter Type Description
summaryTree ISummaryTree

Returns

Return type: MockSharedObjectServices