예제 #1
0
 public static void AddAudioSwitcherLibrary(this IExecutionContext context, IAudioController controller)
 {
     if (context is JsExecutionContext)
     {
         context.AddLibrary("AudioSwitcher", new AudioSwitcherLibrary(controller));
     }
 }
예제 #2
0
 public static void AddCoreLibrary(this IExecutionContext context)
 {
     if (context is JsExecutionContext)
     {
         context.AddLibrary("Core", new CoreLibrary());
     }
 }