yijunyu/c-to-rust huggingface dataset:
// Original:
public Explanation idfExplain(CollectionStatistics collectionStats, TermStatistics termStats[]) {double idf = 0d; List<Explanation> details = new ArrayList<>();for (final TermStatistics stat : termStats ) {Explanation idfExplain = idfExplain(collectionStats, stat);details.add(idfExplain);idf += idfExplain.getValue().floatValue();}return Explanation.match((float) idf, "idf, sum of:", details);}

// Translation:
public virtual Explanation IdfExplain(CollectionStatistics collectionStats, TermStatistics termStats){long df = termStats.DocFreq;long max = collectionStats.MaxDoc;float idf = Idf(df, max);return new Explanation(idf, "idf(docFreq=" + df + ", maxDocs=" + max + ")");}
// Original:
public CreateEndpointResult createEndpoint(CreateEndpointRequest request) {request = beforeClientExecution(request);return executeCreateEndpoint(request);}

// Translation:
public virtual CreateEndpointResponse CreateEndpoint(CreateEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEndpointResponseUnmarshaller.Instance;return Invoke<CreateEndpointResponse>(request, options);}
// Original:
public int serialize(int offset, byte[] data){LittleEndian.putShort( data, 0 + offset, getSid() );LittleEndian.putShort( data, 2 + offset, (short) ( getRecordSize() - 4 ) );byte[] rawData = getRawData();if ( escherRecords.size() == 0 && rawData != null ){LittleEndian.putShort(data, 0 + offset, getSid());LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));System.arraycopy( rawData, 0, data, 4 + offset, rawData.length);return rawData.length + 4;}LittleEndian.putShort(data, 0 + offset, getSid());LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));int pos = offset + 4;for (EscherRecord r : escherRecords) {pos += r.serialize( pos, data, new NullEscherSerializationListener() );}return getRecordSize();}

// Translation:
public override int Serialize(int offset, byte[] data){LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));byte[] rawData = RawData;if (escherRecords.Count == 0 && rawData != null){LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));Array.Copy(rawData, 0, data, 4 + offset, rawData.Length);return rawData.Length + 4;}LittleEndian.PutShort(data, 0 + offset, Sid);LittleEndian.PutShort(data, 2 + offset, (short)(RecordSize - 4));int pos = offset + 4;foreach (EscherRecord r in escherRecords){pos += r.Serialize(pos, data, new NullEscherSerializationListener());}return RecordSize;}
// Original:
public boolean isBelowMaxRep() {int sc = _significand.bitLength() - C_64;return _significand.compareTo(BI_MAX_BASE.shiftLeft(sc)) < 0;}

// Translation:
public bool IsBelowMaxRep(){int sc = _significand.BitLength() - C_64;return _significand.CompareTo(BI_MAX_BASE.ShiftLeft(sc)) < 0;}
// Original:
public FieldIndexEnum getFieldEnum(FieldInfo fieldInfo) {final FieldIndexData fieldData = fields.get(fieldInfo.name);if (fieldData.fst == null) {return null;} else {return new IndexEnum(fieldData.fst);}}

// Translation:
public override FieldIndexEnum GetFieldEnum(FieldInfo fieldInfo){FieldIndexData fieldData;if (!fields.TryGetValue(fieldInfo, out fieldData) || fieldData == null || fieldData.fst == null){return null;}else{return new IndexEnum(fieldData.fst);}}
// Original:
public AssociationsFacetsExample() {config = new FacetsConfig();config.setMultiValued("tags", true);config.setIndexFieldName("tags", "$tags");config.setMultiValued("genre", true);config.setIndexFieldName("genre", "$genre");}

// Translation:
public AssociationsFacetsExample(){config = new FacetsConfig();config.SetMultiValued("tags", true);config.SetIndexFieldName("tags", "$tags");config.SetMultiValued("genre", true);config.SetIndexFieldName("genre", "$genre");}
// Original:
public void fill(int fromIndex, int toIndex, long val) {ensureCapacity(val);current.fill(fromIndex, toIndex, val);}

// Translation:
public override void Fill(int fromIndex, int toIndex, long val){EnsureCapacity(val);current.Fill(fromIndex, toIndex, val);}
// Original:
public ListDeploymentConfigsResult listDeploymentConfigs(ListDeploymentConfigsRequest request) {request = beforeClientExecution(request);return executeListDeploymentConfigs(request);}

// Translation:
public virtual ListDeploymentConfigsResponse ListDeploymentConfigs(ListDeploymentConfigsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentConfigsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentConfigsResponseUnmarshaller.Instance;return Invoke<ListDeploymentConfigsResponse>(request, options);}
// Original:
public ListUserPoliciesRequest(String userName) {setUserName(userName);}

// Translation:
public ListUserPoliciesRequest(string userName){_userName = userName;}
// Original:
public TokenStream create(TokenStream input) {return new FinnishLightStemFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new FinnishLightStemFilter(input);}
// Original:
public CharSequence getLastOnPath(CharSequence key) {StringBuilder result = new StringBuilder(tries.size() * 2);for (int i = 0; i < tries.size(); i++) {CharSequence r = tries.get(i).getLastOnPath(key);if (r == null || (r.length() == 1 && r.charAt(0) == EOM)) {return result;}result.append(r);}return result;}

// Translation:
public override string GetLastOnPath(string key){StringBuilder result = new StringBuilder(m_tries.Count * 2);for (int i = 0; i < m_tries.Count; i++){string r = m_tries[i].GetLastOnPath(key);if (r == null || (r.Length == 1 && r[0] == EOM)){return result.ToString();}result.Append(r);}return result.ToString();}
// Original:
public int getExternalSheetIndex(String workbookName, String firstSheetName, String lastSheetName) {int externalBookIndex = getExternalWorkbookIndex(workbookName);if (externalBookIndex == -1) {throw new RuntimeException("No external workbook with name '" + workbookName + "'");}SupBookRecord ebrTarget = _externalBookBlocks[externalBookIndex].getExternalBookRecord();int firstSheetIndex = getSheetIndex(ebrTarget.getSheetNames(), firstSheetName);int lastSheetIndex = getSheetIndex(ebrTarget.getSheetNames(), lastSheetName);int result = _externSheetRecord.getRefIxForSheet(externalBookIndex, firstSheetIndex, lastSheetIndex);if (result < 0) {result = _externSheetRecord.addRef(externalBookIndex, firstSheetIndex, lastSheetIndex);}return result;}

// Translation:
public int GetExternalSheetIndex(String workbookName, String firstSheetName, String lastSheetName){int externalBookIndex = GetExternalWorkbookIndex(workbookName);if (externalBookIndex == -1){throw new RuntimeException("No external workbook with name '" + workbookName + "'");}SupBookRecord ebrTarget = _externalBookBlocks[externalBookIndex].GetExternalBookRecord();int firstSheetIndex = GetSheetIndex(ebrTarget.SheetNames, firstSheetName);int lastSheetIndex = GetSheetIndex(ebrTarget.SheetNames, lastSheetName);int result = _externSheetRecord.GetRefIxForSheet(externalBookIndex, firstSheetIndex, lastSheetIndex);if (result < 0){result = _externSheetRecord.AddRef(externalBookIndex, firstSheetIndex, lastSheetIndex);}return result;}
// Original:
public String findSheetLastNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.getLastInternalSheetIndexForExtIndex(externSheetIndex);return findSheetNameFromIndex(indexToSheet);}

// Translation:
public String FindSheetLastNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.GetLastInternalSheetIndexForExtIndex(externSheetIndex);return FindSheetNameFromIndex(indexToSheet);}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(rt);out.writeShort(grbitFrt);out.writeShort(iObjectKind);out.write(reserved);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteShort(iObjectKind);out1.Write(reserved);}
// Original:
public final ValueEval getValue() {return _value;}

// Translation:
public ValueEval GetValue(){return _value;}
// Original:
public ImportImageResult importImage(ImportImageRequest request) {request = beforeClientExecution(request);return executeImportImage(request);}

// Translation:
public virtual ImportImageResponse ImportImage(ImportImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportImageRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportImageResponseUnmarshaller.Instance;return Invoke<ImportImageResponse>(request, options);}
// Original:
public PruneByAge(double maxAgeSec) {if (maxAgeSec < 0) {throw new IllegalArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}

// Translation:
public PruneByAge(double maxAgeSec){if (maxAgeSec < 0){throw new System.ArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}
// Original:
public DeleteSecurityGroupRequest(String groupName) {setGroupName(groupName);}

// Translation:
public DeleteSecurityGroupRequest(string groupName){_groupName = groupName;}
// Original:
public GetRoomSkillParameterResult getRoomSkillParameter(GetRoomSkillParameterRequest request) {request = beforeClientExecution(request);return executeGetRoomSkillParameter(request);}

// Translation:
public virtual GetRoomSkillParameterResponse GetRoomSkillParameter(GetRoomSkillParameterRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRoomSkillParameterRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRoomSkillParameterResponseUnmarshaller.Instance;return Invoke<GetRoomSkillParameterResponse>(request, options);}
// Original:
public ParserRuleContext parse(int startRuleIndex) {RuleStartState startRuleStartState = atn.ruleToStartState[startRuleIndex];rootContext = createInterpreterRuleContext(null, ATNState.INVALID_STATE_NUMBER, startRuleIndex);if (startRuleStartState.isLeftRecursiveRule) {enterRecursionRule(rootContext, startRuleStartState.stateNumber, startRuleIndex, 0);}else {enterRule(rootContext, startRuleStartState.stateNumber, startRuleIndex);}while ( true ) {ATNState p = getATNState();switch ( p.getStateType() ) {case ATNState.RULE_STOP :if ( _ctx.isEmpty() ) {if (startRuleStartState.isLeftRecursiveRule) {ParserRuleContext result = _ctx;Pair<ParserRuleContext, Integer> parentContext = _parentContextStack.pop();unrollRecursionContexts(parentContext.a);return result;}else {exitRule();return rootContext;}}visitRuleStopState(p);break;default :try {visitState(p);}catch (RecognitionException e) {setState(atn.ruleToStopState[p.ruleIndex].stateNumber);getContext().exception = e;getErrorHandler().reportError(this, e);recover(e);}break;}}}

// Translation:
public virtual ParserRuleContext Parse(int startRuleIndex){RuleStartState startRuleStartState = _atn.ruleToStartState[startRuleIndex];InterpreterRuleContext rootContext = new InterpreterRuleContext(null, ATNState.InvalidStateNumber, startRuleIndex);if (startRuleStartState.isPrecedenceRule){EnterRecursionRule(rootContext, startRuleStartState.stateNumber, startRuleIndex, 0);}else{EnterRule(rootContext, startRuleStartState.stateNumber, startRuleIndex);}while (true){ATNState p = AtnState;switch (p.StateType){case StateType.RuleStop:{if (RuleContext.IsEmpty){if (startRuleStartState.isPrecedenceRule){ParserRuleContext result = RuleContext;Tuple<ParserRuleContext, int> parentContext = _parentContextStack.Pop();UnrollRecursionContexts(parentContext.Item1);return result;}else{ExitRule();return rootContext;}}VisitRuleStopState(p);break;}default:{try{VisitState(p);}catch (RecognitionException e){State = _atn.ruleToStopState[p.ruleIndex].stateNumber;Context.exception = e;ErrorHandler.ReportError(this, e);ErrorHandler.Recover(this, e);}break;}}}}
// Original:
public DeleteInstallationMediaResult deleteInstallationMedia(DeleteInstallationMediaRequest request) {request = beforeClientExecution(request);return executeDeleteInstallationMedia(request);}

// Translation:
public virtual DeleteInstallationMediaResponse DeleteInstallationMedia(DeleteInstallationMediaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteInstallationMediaRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteInstallationMediaResponseUnmarshaller.Instance;return Invoke<DeleteInstallationMediaResponse>(request, options);}
// Original:
public boolean accept(double value) {return value >= min && value <= max;}

// Translation:
public bool Accept(double value){return value >= minIncl && value <= maxIncl;}
// Original:
public GetVariablesResult getVariables(GetVariablesRequest request) {request = beforeClientExecution(request);return executeGetVariables(request);}

// Translation:
public virtual GetVariablesResponse GetVariables(GetVariablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVariablesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVariablesResponseUnmarshaller.Instance;return Invoke<GetVariablesResponse>(request, options);}
// Original:
public void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final int byte0 = blocks[blocksOffset++] & 0xFF;final int byte1 = blocks[blocksOffset++] & 0xFF;final int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}}

// Translation:
public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 16) | (byte1 << 8) | byte2;}}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_pointNumber);out.writeShort(field_2_seriesIndex);out.writeShort(field_3_seriesNumber);out.writeShort(field_4_formatFlags);}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_pointNumber);out1.WriteShort(field_2_seriesIndex);out1.WriteShort(field_3_seriesNumber);out1.WriteShort(field_4_formatFlags);}
// Original:
public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef) {this(externalWorkbookNumber, sheetName, new AreaReference(arearef, SpreadsheetVersion.EXCEL2007));}

// Translation:
public Area3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, String arearef): this(externalWorkbookNumber, sheetName, new AreaReference(arearef)){;}
// Original:
public final CharSequence subSequence(int start, int end) {checkStartEndRemaining(start, end);CharBuffer result = duplicate();result.limit(position + end);result.position(position + start);return result;}

// Translation:
public sealed override java.lang.CharSequence SubSequence(int start, int end){checkStartEndRemaining(start, end);java.nio.CharBuffer result = duplicate();result.limit(_position + end);result.position(_position + start);return result;}
// Original:
public DescribeInstallationMediaResult describeInstallationMedia(DescribeInstallationMediaRequest request) {request = beforeClientExecution(request);return executeDescribeInstallationMedia(request);}

// Translation:
public virtual DescribeInstallationMediaResponse DescribeInstallationMedia(DescribeInstallationMediaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstallationMediaRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstallationMediaResponseUnmarshaller.Instance;return Invoke<DescribeInstallationMediaResponse>(request, options);}
// Original:
public UpdateConferenceProviderResult updateConferenceProvider(UpdateConferenceProviderRequest request) {request = beforeClientExecution(request);return executeUpdateConferenceProvider(request);}

// Translation:
public virtual UpdateConferenceProviderResponse UpdateConferenceProvider(UpdateConferenceProviderRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateConferenceProviderRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateConferenceProviderResponseUnmarshaller.Instance;return Invoke<UpdateConferenceProviderResponse>(request, options);}
// Original:
public void release(int marker) {int expectedMark = -numMarkers;if ( marker!=expectedMark ) {throw new IllegalStateException("release() called with an invalid marker.");}numMarkers--;if ( numMarkers==0 && p > 0 ) { System.arraycopy(data, p, data, 0, n - p); n = n - p;p = 0;lastCharBufferStart = lastChar;}}

// Translation:
public virtual void Release(int marker){int expectedMark = -numMarkers;if (marker != expectedMark){throw new InvalidOperationException("release() called with an invalid marker.");}numMarkers--;if (numMarkers == 0 && p > 0){System.Array.Copy(data, p, data, 0, n - p);n = n - p;p = 0;lastCharBufferStart = lastChar;}}
// Original:
public static int getDataSize() {return 12;}

// Translation:
public static int GetDataSize(){return 12;}
// Original:
public TokenStream create(TokenStream input) {return new UpperCaseFilter(input);}

// Translation:
public override TokenStream Create(TokenStream input){return new UpperCaseFilter(m_luceneMatchVersion, input);}
// Original:
public void serialize(LittleEndianOutput out) {out.writeShort(getHideObj());}

// Translation:
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(GetHideObj());}
// Original:
public V setValue(V value) {V oldValue = this.value;this.value = value;return oldValue;}

// Translation:
public virtual V setValue(V value){V oldValue = this.value;this.value = value;return oldValue;}
// Original:
public String toString() {return toString(0);}

// Translation:
public override string ToString(){return ToString(Dir, 0);}
// Original:
public CreateHITResult createHIT(CreateHITRequest request) {request = beforeClientExecution(request);return executeCreateHIT(request);}

// Translation:
public virtual CreateHITResponse CreateHIT(CreateHITRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHITRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHITResponseUnmarshaller.Instance;return Invoke<CreateHITResponse>(request, options);}
// Original:
public void setDelimiters(String start, String stop, String escapeLeft) {if (start == null || start.isEmpty()) {throw new IllegalArgumentException("start cannot be null or empty");}if (stop == null || stop.isEmpty()) {throw new IllegalArgumentException("stop cannot be null or empty");}this.start = start;this.stop = stop;this.escape = escapeLeft;}

// Translation:
public virtual void SetDelimiters(string start, string stop, string escapeLeft){if (string.IsNullOrEmpty(start)){throw new ArgumentException("start cannot be null or empty");}if (string.IsNullOrEmpty(stop)){throw new ArgumentException("stop cannot be null or empty");}this.start = start;this.stop = stop;this.escape = escapeLeft;}
// Original:
public final int serialize(int offset, byte[] data) {int dataSize = getDataSize();int recSize = 4 + dataSize;try (LittleEndianByteArrayOutputStream out =new LittleEndianByteArrayOutputStream(data, offset, recSize)) {out.writeShort(getSid());out.writeShort(dataSize);serialize(out);if (out.getWriteIndex() - offset != recSize) {throw new IllegalStateException("Error in serialization of (" + getClass().getName() + "): "+ "Incorrect number of bytes written - expected " + recSize + " but got "+ (out.getWriteIndex() - offset));}} catch (IOException ioe) {throw new IllegalStateException(ioe);}return recSize;}

// Translation:
public override int Serialize(int offset, byte[] data){int dataSize = DataSize;int recSize = 4 + dataSize;LittleEndianByteArrayOutputStream out1 = new LittleEndianByteArrayOutputStream(data, offset, recSize);out1.WriteShort(this.Sid);out1.WriteShort(dataSize);Serialize(out1);if (out1.WriteIndex - offset != recSize){throw new InvalidOperationException("Error in serialization of (" + this.GetType().Name + "): "+ "Incorrect number of bytes written - expected "+ recSize + " but got " + (out1.WriteIndex - offset));}return recSize;}
// Original:
public DoubleBuffer duplicate() {return copy(this, mark);}

// Translation:
public override java.nio.DoubleBuffer duplicate(){return copy(this, _mark);}
// Original:
public ByteBuffer putInt(int value) {int newPosition = position + SizeOf.INT;if (newPosition > limit) {throw new BufferOverflowException();}Memory.pokeInt(backingArray, offset + position, value, order);position = newPosition;return this;}

// Translation:
public override java.nio.ByteBuffer putInt(int value){int newPosition = _position + libcore.io.SizeOf.INT;if (newPosition > _limit){throw new java.nio.BufferOverflowException();}libcore.io.Memory.pokeInt(backingArray, offset + _position, value, _order);_position = newPosition;return this;}
// Original:
public final boolean has(RevFlag flag) {return (flags & flag.mask) != 0;}

// Translation:
public bool Has(RevFlag flag){return (flags & flag.mask) != 0;}
// Original:
public ListGeoLocationsResult listGeoLocations(ListGeoLocationsRequest request) {request = beforeClientExecution(request);return executeListGeoLocations(request);}

// Translation:
public virtual ListGeoLocationsResponse ListGeoLocations(ListGeoLocationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGeoLocationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGeoLocationsResponseUnmarshaller.Instance;return Invoke<ListGeoLocationsResponse>(request, options);}
// Original:
public DescribeClusterSnapshotsResult describeClusterSnapshots(DescribeClusterSnapshotsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterSnapshots(request);}

// Translation:
public virtual DescribeClusterSnapshotsResponse DescribeClusterSnapshots(DescribeClusterSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeClusterSnapshotsResponse>(request, options);}
// Original:
public DeleteDirectConnectGatewayAssociationProposalResult deleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest request) {request = beforeClientExecution(request);return executeDeleteDirectConnectGatewayAssociationProposal(request);}

// Translation:
public virtual DeleteDirectConnectGatewayAssociationProposalResponse DeleteDirectConnectGatewayAssociationProposal(DeleteDirectConnectGatewayAssociationProposalRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDirectConnectGatewayAssociationProposalRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDirectConnectGatewayAssociationProposalResponseUnmarshaller.Instance;return Invoke<DeleteDirectConnectGatewayAssociationProposalResponse>(request, options);}
// Original:
public V get() throws InterruptedException, ExecutionException {return sync.innerGet();}

// Translation:
public virtual V get(){throw new System.NotImplementedException();}
// Original:
public static final int prevLF(byte[] b, int ptr) {return prev(b, ptr, '\n');}

// Translation:
public static int PrevLF(byte[] b, int ptr){return Prev(b, ptr, '\n');}
// Original:
public GetVoiceConnectorTerminationResult getVoiceConnectorTermination(GetVoiceConnectorTerminationRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorTermination(request);}

// Translation:
public virtual GetVoiceConnectorTerminationResponse GetVoiceConnectorTermination(GetVoiceConnectorTerminationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorTerminationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorTerminationResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorTerminationResponse>(request, options);}