public Task CreateCollectionAsync(string name) { MongoAction a = MongoActionFactory.Default.CreateCollection(name); Dispatch(a); return(Task.CompletedTask); }
public void Dispatch(MongoAction writeAction) { CheckAccess(); _log.Add(writeAction); }
public void Dispatch(MongoAction writeAction) { Log.Add(writeAction); writeAction.Execute(Store); }
protected override MongoActionLog OnCreate(MongoAction action) { _actions.Add(action); return(this); }
public void Add(MongoAction action) => _actions.Add(action);