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

📄 jsformatprovider.cs

📁 1、用SQL查询器打开install目录下的dooogo.sql运行之后创建数据库dooogo。 2、然后打开web.config修改 <DbProvider type="Club.Fram
💻 CS
字号:
using System;
using System.Reflection;
using Club.Framework.Configuration;
using Club.Framework.Format;


namespace Club.Framework.Providers
{
	/// <summary>
	/// Summary description for UrlFormatProvider.
	/// </summary>
	public class JsFormatProvider
	{
		private JsFormatProvider()
		{
		}

		static JsFormatProvider()
		{
			JsFormatProviderConfiguration urlFPC = Config.Settings.WebProviders.JsFormatProvider;
			Type[] types = {typeof(string)};
			Type t = Type.GetType(urlFPC.ProviderType);
			formatConstructor = t.GetConstructor(types);
		}

		private static ConstructorInfo formatConstructor = null;

		public static Js Instance(string fullyQualifiedUrl)
		{
			return (Js)formatConstructor.Invoke(new object[]{fullyQualifiedUrl});
		}
	}
}

⌨️ 快捷键说明

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