Пример #1
0
 internal MockCosmosContainer(string containerName, MockCosmosState state)
 {
     this.ContainerName        = containerName;
     this.State                = state;
     this.Generator            = Generator.Create();
     this.EmitRandomizedFaults = false;
     this.SyncObject           = new();
 }
Пример #2
0
 internal MockCosmosDatabase(MockCosmosState state)
 {
     this.State      = state;
     this.SyncObject = new();
 }