-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
US-EPA-CAMD/easey-quartz-scheduler
#284Description
Since a lot of code for .net is based around viewcontexts it would be great to be able to pass a viewcontext to a template so that i can get a reference to it from helpers.
The function could be that any data passed to render would be accessable to helpers as a sort of state object.
Since templates compile to a Func<string,object> no passing of other things then.
Don't think this is possible now. Am i wrong?
Would it be regarded as in scope for this project?
Would you accept a pull request for it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels