由于我们谈论的话题是重载类,而重部署涉及了应用的重新初始化,因此在这里讨论一下会话状态(session state)是很有意义的。
Since we’re on the topic of reloading classes, and redeploying involves reinitializing an application, it makes sense to talk about session state.
静态函数也可参与重载,但就返回类型而言,方法的静态状态不影响其签名。
Static functions may also participate in overloading, but as with return types, the static status of a method does not affect its signature.
使用这些方法重载,可以定义服务器状态,还可以选择定义浏览器中历史记录项的标题。
These method overloads enable you to define server state, and optionally the title of the history entry in the browser.
应用推荐