📄 jsformatprovider.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 + -