示例#1
0
 private static StreamDeckGlobalEventFactory CreateGlobalEventFactory(Type type)
 {
     return(context => (IStreamDeckGlobalEvent)CreateTypeFactory(type)(context));
 }
示例#2
0
 private static StreamDeckEventMonitorFactory CreateEventMonitorFactory(Type type)
 {
     return(context => (IStreamDeckEventMonitor)CreateTypeFactory(type)(context));
 }
示例#3
0
 private static StreamDeckActionFactory CreateActionFactory(Type type)
 {
     return(context => (IStreamDeckAction)CreateTypeFactory(type)(context));
 }