Browse Source

Update Pipeline.cs (#778)

finitereality/replica-status-colors
sirh3e 6 years ago
committed by GitHub
parent
commit
7520f61a9e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/Microsoft.Tye.Core/Pipeline.cs

5
src/Microsoft.Tye.Core/Pipeline.cs

@ -35,11 +35,8 @@ namespace Microsoft.Tye
throw new ArgumentNullException(nameof(pipeline));
}
foreach (var kvp in callbacks)
foreach (var (type, delegates) in callbacks)
{
var type = kvp.Key;
var delegates = kvp.Value;
var method = pipeline.GetType().GetMethod("Register")!.MakeGenericMethod(type);
for (var i = 0; i < delegates.Count; i++)
{

Loading…
Cancel
Save