Ejemplo n.º 1
0
 public static void set_source_property(RubyModule /*!*/ self, [NotNull] int /*!*/ nSrcID, [NotNull] String /*!*/ strPropName, [NotNull] String /*!*/ strPropValue)
 {
     try
     {
         SyncEngine.getSourceOptions().setProperty(nSrcID, strPropName, strPropValue);
     }
     catch (Exception ex)
     {
         Exception rubyEx = self.Context.CurrentException;
         if (rubyEx == null)
         {
             rubyEx = RubyExceptionData.InitializeException(new RuntimeError(ex.Message.ToString()), ex.Message);
         }
         LOG.ERROR("set_source_property", ex);
         throw rubyEx;
     }
 }
Ejemplo n.º 2
0
 public static void set_source_property(RubyModule /*!*/ self, [NotNull] int /*!*/ nSrcID, [NotNull] String /*!*/ strPropName, [NotNull] String /*!*/ strPropValue)
 {
     SyncEngine.getSourceOptions().setProperty(nSrcID, strPropName, strPropValue);
 }