Beispiel #1
0
 public void Startup(HttpApplication app)
 {
     AppConfig.Load(ConfigFactory.CreateXmlConfig());
     ExtendConverter.Instance().Register(typeof(ListConverter));
     ExtendConverter.Instance().Register(typeof(DictionaryConverter));
     ExtendConverter.Instance().Register(typeof(JavascriptTimeConverter));
     ExtendConverter.Instance().Register(typeof(EnumConverter));
 }
Beispiel #2
0
 public void SetUp()
 {
     ExtendConverter.Instance().Register(typeof(JavascriptTimeConverter));
 }
Beispiel #3
0
 public void SetUp()
 {
     ExtendConverter.Instance().Register(typeof(ListConverter));
     ExtendConverter.Instance().Register(typeof(DictionaryConverter));
     ExtendConverter.Instance().Register(typeof(EnumConverter));
 }