Created
April 23, 2019 18:09
-
-
Save gashupl/c258c748bee675d6f3306b050f222fbf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| if (this.IsContextValid(pluginExecutionContext)) | |
| { | |
| this.Execute(pluginExecutionContext, tracingService); | |
| } | |
| else | |
| { | |
| tracingService.Trace($"Invalid plugin execution context detected (Plugin: {this.Name})"); | |
| tracingService.Trace($"Execution context: [{pluginExecutionContext.ToFormattedString()}]"); | |
| tracingService.Trace("Plugin execution aborted"); | |
| throw new InvalidPluginExecutionException("Invalid plugin execution context detected"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment