Exemple #1
0
 public static void Initialize(WinRTInteropCallbacks winRTCallback)
 {
     if (s_winRTCallback != null)
     {
         throw new InvalidOperationException(SR.InvalidOperation_Calling);
     }
     s_winRTCallback = winRTCallback;
 }
Exemple #2
0
 public static void Initialize(WinRTInteropCallbacks winRTCallback)
 {
     if (s_winRTCallback != null)
     {
         throw new InvalidOperationException(SR.InvalidOperation_Calling);
     }
     s_winRTCallback = winRTCallback;
 }