Last active
January 16, 2020 08:40
-
-
Save ItayPodhajcer/c84e5c11b0afcaef358f12da4e2c5203 to your computer and use it in GitHub Desktop.
ethereum-event-azure-function-trigger/EtheremEventConfigProvider
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
[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