为什么在System.Web.UI命名空间中ObjectStateFormatter类? [英] Why is the ObjectStateFormatter class in the System.Web.UI namespace?

查看:290
本文介绍了为什么在System.Web.UI命名空间中ObjectStateFormatter类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

非常简单的问题。据我可以从MSDN页看,这似乎是所有关于序列化和无关的网站!

Very straight forward question. As far as I can see from the MSDN page, it seems to be all about serialization and nothing to do with Web!

MSDN: ObjectStateFormatter类

推荐答案

的SimPy,它是相当紧密相关的 PageStatePersister 并喜欢的 三重 (我承认我从来没有听说过)。

Simpy, it is quite tightly related to PageStatePersister and a few other web assets like Triplet (which I confess I've never heard of before).

您是对在的根本的那类有直接一点做与网络,但我可以看到为什么它会是很有诱惑力的离开它与它的兄弟姐妹(与它的设计是使用)。最终,虽然....咩。命名的东西(我会包括在命名空间)是很难...

You are right in that fundamentally that class has little directly to do with web, but I can see why it would be tempting to leave it with it's siblings (with which it is designed to be used). Ultimately, though.... meh. Naming stuff (and I'll include namespaces in that) is hard...

这篇关于为什么在System.Web.UI命名空间中ObjectStateFormatter类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆