protected override void InnerEmbedHostType(string itemName, Type type)
 {
     try
     {
         _jsEngine.EmbedHostType(itemName, type);
     }
     catch (OriginalException e)
     {
         throw WrapJsException(e);
     }
 }
예제 #2
0
 protected override void InnerEmbedHostType(string itemName, Type type)
 {
     try
     {
         _jsEngine.EmbedHostType(itemName, type);
     }
     catch (OriginalJsRuntimeException e)
     {
         throw ConvertMsieJsRuntimeExceptionToJsRuntimeException(e);
     }
 }