public Jquery Extra(this HtmlHelper htmlhelper,
string message,
IDictionary<string, object> htmlAttributes)
if i declare the this Htmlhelper htmlhelper when i declare my method, but i don’t want to pass that parameter in when i call the method??
am i making sense
I believe you are trying to write an Extension Method. You define it like so
And then use it like this: