コード例 #1
0
 public static void RegisterHandler <Q, S>(string handlerKey, IModuleHandler <Q, S> handler)
     where Q : class
     where S : class
 {
     ModuleHandlerRegistrar.RegisterHandler <Q, S>(handlerKey, handler);
 }
コード例 #2
0
 private static IModuleHandler <Q, S> GetByRegistrar <Q, S>(string handlerKey)
     where Q : class
     where S : class
 {
     return(ModuleHandlerRegistrar.GetHandler <Q, S>(handlerKey));;
 }