⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javascriptconverter.cs

📁 ajaxpro
💻 CS
字号:
/*
 * MS	06-05-30	removed this code
 * 
 * 
 * 
 */
//using System;
//using System.Text;
//using System.Collections;

//namespace AjaxPro
//{
//    /// <summary>
//    /// The two directions AJAX will convert objects.
//    /// </summary>
//    internal enum JavaScriptConverterDirectionType
//    {
//        Serialize,
//        Deserialize
//    }

//    /// <summary>
//    /// Provides methods to get converters for JSON strings or .NET objects.
//    /// </summary>
//    public class JavaScriptConverter
//    {
//        /// <summary>
//        /// Get a IJavaScriptConverter that will handle the serialization of the specified data type.
//        /// </summary>
//        /// <param name="t">The type to handle.</param>
//        /// <returns>Returns an instance of an IJavaScriptConverter.</returns>
//        public static IJavaScriptConverter GetSerializableConverter(Type t)
//        {
//            return Utility.Settings.JavaScriptConverters.GetConverter(t, JavaScriptConverterDirectionType.Serialize);
//        }

//        /// <summary>
//        /// Get a IJavaScriptConverter that will handle the deserialization of the specified data type.
//        /// </summary>
//        /// <param name="t">The type to handle.</param>
//        /// <returns>Returns an instance of an IJavaScriptConverter.</returns>
//        public static IJavaScriptConverter GetDeserializableConverter(Type t)
//        {
//            return Utility.Settings.JavaScriptConverters.GetConverter(t, JavaScriptConverterDirectionType.Deserialize);
//        }
//    }
//}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -