Skip to content

Instantly share code, notes, and snippets.

@ItayPodhajcer
Last active January 16, 2020 08:40
Show Gist options
  • Save ItayPodhajcer/c84e5c11b0afcaef358f12da4e2c5203 to your computer and use it in GitHub Desktop.
Save ItayPodhajcer/c84e5c11b0afcaef358f12da4e2c5203 to your computer and use it in GitHub Desktop.
ethereum-event-azure-function-trigger/EtheremEventConfigProvider
[Extension("EthereumEventTrigger")]
public class EtheremEventConfigProvider : IExtensionConfigProvider
{
public void Initialize(ExtensionConfigContext context)
{
context
.AddBindingRule<EthereumEventTriggerAttribute>()
.BindToTrigger<EthereumEventData>(new EthereumEventTriggerBindingProvider());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment