コード例 #1
0
 public void Register(params System.Reflection.Assembly[] assemblies)
 {
     mAssemblies.AddRange(assemblies);
     try
     {
         mActionFactory.Register(this.ServerConfig, this, assemblies);
     }
     catch (Exception e_)
     {
         Log(LogType.Error, " http api server load controller error " + e_.Message);
     }
 }
コード例 #2
0
ファイル: HttpApiServer.cs プロジェクト: carterHe/FastHttpApi
 public void Register(params System.Reflection.Assembly[] assemblies)
 {
     mUrlRewrite.UrlIgnoreCase = Options.UrlIgnoreCase;
     mAssemblies.AddRange(assemblies);
     try
     {
         mActionFactory.Register(assemblies);
     }
     catch (Exception e_)
     {
         Log(LogType.Error, " http api server load controller error " + e_.Message + "[" + e_.StackTrace + "]");
     }
 }
コード例 #3
0
 public void Register(params System.Reflection.Assembly[] assemblies)
 {
     try
     {
         mActionFactory.Register(this.ServerConfig, assemblies);
     }
     catch (Exception e_)
     {
         Log(null, new ServerLogEventArgs(" http api server load controller error " + e_.Message, LogType.Error));
     }
 }