Method CreateEventBindingService
- Namespace
- Alternet.FormDesigner.Python
- Assembly
- Alternet.FormDesigner.Python.v9.dll
CreateEventBindingService(IServiceContainer, IFormDesignerDataSource, Func<NavigateToUserMethodRequestedEventArgs, bool>)
Creates an event binding service for Python language.
public override IEventBindingServiceExtended CreateEventBindingService(IServiceContainer serviceContainer, IFormDesignerDataSource source, Func<NavigateToUserMethodRequestedEventArgs, bool> showUserCodeFunc)
Parameters
serviceContainer
IServiceContainerIServiceContainer for this new service.
source
IFormDesignerDataSourceIFormDesignerDataSource object contains data for this new service.
showUserCodeFunc
Func<NavigateToUserMethodRequestedEventArgs, bool>Method used to show user code.
Returns
- IEventBindingServiceExtended
An EventBindingServicePython object that provides default service for the Python language.