예제 #1
0
 /// <summary>
 /// Creates new instance of WorkspaceFacade type
 /// </summary>
 /// <param name="commitDataService">Commit data service</param>
 /// <param name="workspaceStateProvider">Workspace state tracker</param>
 public WorkspaceFacade(CommitDataService commitDataService, TrackingWorkspaceStateProvider workspaceStateProvider, ISubscriptionManagerService subscriptionManagerService, SnapshotsService snapshotsService, WorkspaceExclusiveLockProvider workspaceExclusiveLockProvider)
 {
     this.commitDataService = commitDataService;
     this.workspaceStateProvider = workspaceStateProvider;
     this.subscriptionManagerService = subscriptionManagerService;
     this.snapshotsService = snapshotsService;
     this.workspaceExclusiveLockProvider = workspaceExclusiveLockProvider;
 }
예제 #2
0
 /// <summary>
 /// Creates new instance of CommitDataService type
 /// </summary>
 /// <param name="nodes">Nodes which will accept data changes</param>
 /// <param name="snapshotsService">Service which handles snapshots</param>
 /// <param name="mutableParentProvider">Provider of node parent information</param>
 public CommitDataService(INodeProvider<Guid, object, EdgeData> nodes, TypesService typesService, SnapshotsService snapshotsService, IParentMapProvider<Guid, object, EdgeData> mutableParentProvider, IParentMapProvider<Guid, object, EdgeData> immutableParentProvider, IChangeSetProvider<Guid, object, EdgeData> changeSetProvider, NodeMergeExecutor nodeMergeExecutor, ICollectedNodesProvider<Guid, object, EdgeData> collectedNodesProvider)
 {
     this.nodes = nodes;
     this.snapshotsService = snapshotsService;
     this.mutableParentProvider = mutableParentProvider;
     this.immutableParentProvider = immutableParentProvider;
     this.changeSetProvider = changeSetProvider;
     this.nodeMergeExecutor = nodeMergeExecutor;
     this.typesService = typesService;
     this.collectedNodesProvider = collectedNodesProvider;
 }
예제 #3
0
 /// <summary>
 /// Creates new instance of CommitDataService type
 /// </summary>
 /// <param name="nodes">Nodes which will accept data changes</param>
 /// <param name="snapshotsService">Service which handles snapshots</param>
 /// <param name="mutableParentProvider">Provider of node parent information</param>
 public CommitDataService(INodeProvider <Guid, object, EdgeData> nodes, TypesService typesService, SnapshotsService snapshotsService, IParentMapProvider <Guid, object, EdgeData> mutableParentProvider, IParentMapProvider <Guid, object, EdgeData> immutableParentProvider, IChangeSetProvider <Guid, object, EdgeData> changeSetProvider, NodeMergeExecutor nodeMergeExecutor, ICollectedNodesProvider <Guid, object, EdgeData> collectedNodesProvider)
 {
     this.nodes                   = nodes;
     this.snapshotsService        = snapshotsService;
     this.mutableParentProvider   = mutableParentProvider;
     this.immutableParentProvider = immutableParentProvider;
     this.changeSetProvider       = changeSetProvider;
     this.nodeMergeExecutor       = nodeMergeExecutor;
     this.typesService            = typesService;
     this.collectedNodesProvider  = collectedNodesProvider;
 }