Skip to content

Instantly share code, notes, and snippets.

@gashupl
Created April 23, 2019 18:15
Show Gist options
  • Save gashupl/2277e49b0b85ad9a79abd2de5bee3594 to your computer and use it in GitHub Desktop.
Save gashupl/2277e49b0b85ad9a79abd2de5bee3594 to your computer and use it in GitHub Desktop.
public class FooPlugin : PluginBase
{
public FooPlugin(string unsecureString, string secureString) : base(unsecureString, secureString)
{
}
public override bool IsContextValid(IPluginExecutionContext context)
{
//TODO: Add your validation code here…
}
public override void Execute(IPluginExecutionContext pluginExecutionContext, ITracingService tracingService)
{
//TODO: Implement your business logic here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment