提交说明10/9
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// 仅用于本机编译验证的临时桩(VS2005 构建机装有 ASP.NET AJAX 1.0 的 System.Web.Extensions),
|
||||
// 不属于项目代码,验证完成后删除。
|
||||
namespace System.Web.Script.Serialization
|
||||
{
|
||||
public class JavaScriptSerializer
|
||||
{
|
||||
public JavaScriptSerializer() { }
|
||||
public string Serialize(object obj) { return ""; }
|
||||
public T Deserialize<T>(string input) { return default(T); }
|
||||
public object DeserializeObject(string input) { return null; }
|
||||
public void RegisterConverters(System.Collections.Generic.List<JavaScriptConverter> converters) { }
|
||||
}
|
||||
|
||||
public abstract class JavaScriptConverter
|
||||
{
|
||||
public abstract System.Collections.Generic.IDictionary<string, object> Serialize(object obj, JavaScriptSerializer serializer);
|
||||
public abstract object Deserialize(System.Collections.Generic.IDictionary<string, object> dictionary, System.Type type, JavaScriptSerializer serializer);
|
||||
public abstract System.Collections.Generic.IEnumerable<System.Type> SupportedTypes { get; }
|
||||
}
|
||||
|
||||
public class ScriptIgnoreAttribute : System.Attribute
|
||||
{
|
||||
public ScriptIgnoreAttribute() { }
|
||||
private bool _bIgnoreIfNull;
|
||||
public bool IgnoreIfNull { get { return _bIgnoreIfNull; } set { _bIgnoreIfNull = value; } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user