I have a simple naming problem. In my MVC code, I already have an i开发者_如何学Cnitialize method that is provided by the framework. I'm thinking of another one that is called right before actions are executed.
It's basically like a second constructor, it setups essential data that is not available in the ctor. In fact, it's about data that is only available before an action executes.
You practically named it yourself: PrepareForActions
.
精彩评论