// Create Extension Method to Accept the Custom PluginContext public static RegisteredEventBuilder WithExecuteAction(this RegisteredEventBuilder builder, Action <ExtendedPluginContext> execute) { builder.WithExecuteAction(execute); return(builder); }