コード例 #1
0
ファイル: RhoSyncEngine.cs プロジェクト: ycaihua/rhodes
 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;
     }
 }
コード例 #2
0
ファイル: RhoSyncEngine.cs プロジェクト: joelbm24/rhodes
 public static void set_source_property(RubyModule /*!*/ self, [NotNull] int /*!*/ nSrcID, [NotNull] String /*!*/ strPropName, [NotNull] String /*!*/ strPropValue)
 {
     SyncEngine.getSourceOptions().setProperty(nSrcID, strPropName, strPropValue);
 }