Skip to content
Discussion options

You must be logged in to vote

Why do you need to pass the Kernel to the plugin's constructor? If you have a method like:

[KernelFunction]
public void MyAmazingMethod(Kernel kernel) { ... }

the Kernel being used when that method is invoked will be automatically passed in as that Kernel argument.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@stephentoub
Comment options

Answer selected by Swimburger
@noeltupas
Comment options

@noeltupas
Comment options

@stephentoub
Comment options

@stephentoub
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants