-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ajusted xmldoc pipeline (runs to completion)
- Loading branch information
1 parent
2432f5d
commit b8231f2
Showing
24 changed files
with
297 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 18 additions & 3 deletions
21
...ba.Server/ContentSynchronization/Pipeline/Sections/SyncXmldoc/BroadcastQuickFixesBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
...kvba.Server/ContentSynchronization/Pipeline/Sections/SyncXmldoc/FeatureItemBufferBlock.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...duckvba.Server/ContentSynchronization/Pipeline/Sections/SyncXmldoc/PrepareStagingBlock.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using rubberduckvba.Server.ContentSynchronization.Pipeline.Abstract; | ||
using rubberduckvba.Server.ContentSynchronization.Pipeline.Sections.Context; | ||
using rubberduckvba.Server.Model; | ||
|
||
namespace rubberduckvba.Server.ContentSynchronization.Pipeline.Sections.SyncXmldoc; | ||
|
||
public class PrepareStagingBlock : TransformBlockBase<Tuple<IEnumerable<Annotation>, IEnumerable<QuickFix>, IEnumerable<Inspection>>, StagingContext, SyncContext> | ||
{ | ||
public PrepareStagingBlock(PipelineSection<SyncContext> parent, CancellationTokenSource tokenSource, ILogger logger) | ||
: base(parent, tokenSource, logger) | ||
{ | ||
} | ||
|
||
public override StagingContext Transform(Tuple<IEnumerable<Annotation>, IEnumerable<QuickFix>, IEnumerable<Inspection>> input) | ||
{ | ||
var parameters = Context.StagingContext.Parameters; | ||
var (annotations, quickfixes, inspections) = (input.Item1, input.Item2, input.Item3); | ||
|
||
return new StagingContext(parameters) | ||
{ | ||
Inspections = new(inspections), | ||
QuickFixes = new(quickfixes), | ||
Annotations = new(annotations) | ||
}; | ||
} | ||
} |
Oops, something went wrong.