Created
January 7, 2018 22:00
-
-
Save Im5tu/134309d55e7118fafa7483e1161267b3 to your computer and use it in GitHub Desktop.
GetCorrelationId
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
public static Guid? GetCorrelationId() | |
{ | |
var stack = GetCorrelationStack(); | |
if(stack.Count > 0) | |
return stack.Peek(); | |
return null; // TODO :: decide what you are going to do | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment