コード例 #1
0
 public void setFormulationParameters(Parameters p)
 {
     indri_csharpPINVOKE.QueryEnvironment_setFormulationParameters(swigCPtr, Parameters.getCPtr(p));
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: RMExpander.cs プロジェクト: approach0/fork-indri
 public RMExpander(QueryEnvironment env, Parameters param) : this(indri_csharpPINVOKE.new_RMExpander(QueryEnvironment.getCPtr(env), Parameters.getCPtr(param)), true)
 {
     if (indri_csharpPINVOKE.SWIGPendingException.Pending)
     {
         throw indri_csharpPINVOKE.SWIGPendingException.Retrieve();
     }
 }