示例#1
0
 public static IUnRegister RegisterEvent <T>(this ICanRegisterEvent self, Action <T> onEvent)
 {
     return(self.GetArchitecture().RegisterEvent <T>(onEvent));
 }
示例#2
0
 public static void UnRegisterEvent <T>(this ICanRegisterEvent self, Action <T> onEvent)
 {
     self.GetArchitecture().UnRegisterEvent <T>(onEvent);
 }
示例#3
0
 public static IDisposable RegisterEvent <T>(this ICanRegisterEvent self, Action <T> onEvent) where T : struct
 {
     return(self.GetArchitecture().RegisterEvent(onEvent));
 }