Skip to main content
Version: v1

MockSharedObjectServices Class

Mock implementation of IChannelServices

Signature

export declare class MockSharedObjectServices implements IChannelServices

Implements: IChannelServices

Constructors

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

Static Methods

MethodReturn TypeDescription
createFromSummary(summaryTree)MockSharedObjectServices

Properties

PropertyTypeDescription
deltaConnectionIDeltaConnection
objectStorageMockObjectStorageService

Constructor Details

(constructor)

Constructs a new instance of the MockSharedObjectServices class

Signature

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

Parameters

ParameterTypeDescription
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

ParameterTypeDescription
summaryTreeISummaryTree

Returns

Return type: MockSharedObjectServices