yijunyu/c-to-rust huggingface dataset:
// Original:
public RejectTransitGatewayPeeringAttachmentResult rejectTransitGatewayPeeringAttachment(RejectTransitGatewayPeeringAttachmentRequest request) {request = beforeClientExecution(request);return executeRejectTransitGatewayPeeringAttachment(request);}

// Translation:
public virtual RejectTransitGatewayPeeringAttachmentResponse RejectTransitGatewayPeeringAttachment(RejectTransitGatewayPeeringAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = RejectTransitGatewayPeeringAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = RejectTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance;return Invoke<RejectTransitGatewayPeeringAttachmentResponse>(request, options);}
// Original:
public static double toPoints(long emu){return (double)emu/EMU_PER_POINT;}

// Translation:
public static double ToPoints(long emu){return (double)emu / EMU_PER_POINT;}
// Original:
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {return arg1;}

// Translation:
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){return arg1;}
// Original:
public final BytesRef getBinaryValue(String name) {for (IndexableField field : fields) {if (field.name().equals(name)) {final BytesRef bytes = field.binaryValue();if (bytes != null) {return bytes;}}}return null;}

// Translation:
public BytesRef GetBinaryValue(string name){foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal)){BytesRef bytes = field.GetBinaryValue();if (bytes != null){return bytes;}}}return null;}
// Original:
public CRNBlock(RecordStream rs) {_countRecord = (CRNCountRecord) rs.getNext();int nCRNs = _countRecord.getNumberOfCRNs();CRNRecord[] crns = new CRNRecord[nCRNs];for (int i = 0; i < crns.length; i++) {crns[i] = (CRNRecord) rs.getNext();}_crns = crns;}

// Translation:
public CRNBlock(RecordStream rs){_countRecord = (CRNCountRecord)rs.GetNext();int nCRNs = _countRecord.NumberOfCRNs;CRNRecord[] crns = new CRNRecord[nCRNs];for (int i = 0; i < crns.Length; i++){crns[i] = (CRNRecord)rs.GetNext();}_crns = crns;}
// Original:
public int get(int index, long[] arr, int off, int len) {return current.get(index, arr, off, len);}

// Translation:
public override int Get(int index, long[] arr, int off, int len){return current.Get(index, arr, off, len);}
// Original:
public LooseRef peel(ObjectIdRef newLeaf) {return this;}

// Translation:
public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){return this;}
// Original:
public UpdateModelVersionResult updateModelVersion(UpdateModelVersionRequest request) {request = beforeClientExecution(request);return executeUpdateModelVersion(request);}

// Translation:
public virtual UpdateModelVersionResponse UpdateModelVersion(UpdateModelVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateModelVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateModelVersionResponseUnmarshaller.Instance;return Invoke<UpdateModelVersionResponse>(request, options);}
// Original:
public Builder() {PositiveIntOutputs outputs = PositiveIntOutputs.getSingleton();fstCompiler = new FSTCompiler<>(FST.INPUT_TYPE.BYTE1, outputs);scratchInts = new IntsRefBuilder();}

// Translation:
public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;}
// Original:
public boolean stem() {int v_1 = cursor;r_mark_regions();cursor = v_1;limit_backward = cursor;cursor = limit;int v_2 = limit - cursor;r_main_suffix();cursor = limit - v_2;int v_3 = limit - cursor;r_consonant_pair();cursor = limit - v_3;int v_4 = limit - cursor;r_other_suffix();cursor = limit - v_4;cursor = limit_backward;return true;}

// Translation:
public override bool Stem(){int v_1;int v_2;int v_3;int v_4;v_1 = m_cursor;do{if (!r_mark_regions()){goto lab0;}} while (false);lab0:m_cursor = v_1;m_limit_backward = m_cursor; m_cursor = m_limit;v_2 = m_limit - m_cursor;do{if (!r_main_suffix()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;v_3 = m_limit - m_cursor;do{if (!r_consonant_pair()){goto lab2;}} while (false);lab2:m_cursor = m_limit - v_3;v_4 = m_limit - m_cursor;do{if (!r_other_suffix()){goto lab3;}} while (false);lab3:m_cursor = m_limit - v_4;m_cursor = m_limit_backward; return true;}
// Original:
public int describeContents() {return 0;}

// Translation:
public virtual int describeContents(){return 0;}
// Original:
public FetchConnection openFetch() throws TransportException {if (src == null)throw new TransportException(uri, JGitText.get().onlyOneFetchSupported);try {return new BundleFetchConnection(this, src);} finally {src = null;}}

// Translation:
public override FetchConnection OpenFetch(){if (src == null){throw new TransportException(uri, JGitText.Get().onlyOneFetchSupported);}try{return new BundleFetchConnection(this, src);}finally{src = null;}}
// Original:
public DeleteWorkGroupResult deleteWorkGroup(DeleteWorkGroupRequest request) {request = beforeClientExecution(request);return executeDeleteWorkGroup(request);}

// Translation:
public virtual DeleteWorkGroupResponse DeleteWorkGroup(DeleteWorkGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteWorkGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteWorkGroupResponseUnmarshaller.Instance;return Invoke<DeleteWorkGroupResponse>(request, options);}
// Original:
public GetApiResult getApi(GetApiRequest request) {request = beforeClientExecution(request);return executeGetApi(request);}

// Translation:
public virtual GetApiResponse GetApi(GetApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApiRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;return Invoke<GetApiResponse>(request, options);}
// Original:
public LongBuffer slice() {return new ReadOnlyLongArrayBuffer(remaining(), backingArray, offset + position);}

// Translation:
public override java.nio.LongBuffer slice(){return new java.nio.ReadOnlyLongArrayBuffer(remaining(), backingArray, offset + _position);}
// Original:
public String toString() {String opName = getClass().getName();int $index = opName.indexOf('$');opName = opName.substring($index+1, opName.length());return "<"+opName+"@"+tokens.get(index)+":\""+text+"\">";}

// Translation:
public override string ToString(){string opName = GetType().FullName;int index = opName.IndexOf('$');opName = Sharpen.Runtime.Substring(opName, index + 1, opName.Length);return "<" + opName + "@" + tokens.Get(this.index) + ":\"" + text + "\">";}
// Original:
public String toString() {return "Action[" + token + "]";}

// Translation:
public override string ToString(){return "Action[" + token + "]";}
// Original:
public static EvaluationException invalidRef() {return new EvaluationException(ErrorEval.REF_INVALID);}

// Translation:
public static EvaluationException InvalidRef(){return new EvaluationException(ErrorEval.REF_INVALID);}
// Original:
public Iterator<Entry> getEntries() {return new FilteringIterator();}

// Translation:
public IEnumerator<Entry> GetEntries(){return new FilteringIterator(this); ;}
// Original:
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append(" [FUTURE HEADER]\n");buffer.append("   Type " + recordType);buffer.append("   Flags " + grbitFrt);buffer.append(" [/FUTURE HEADER]\n");return buffer.toString();}

// Translation:
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append(" [FUTURE HEADER]\n");buffer.Append("   type " + recordType);buffer.Append("   flags " + grbitFrt);buffer.Append(" [/FUTURE HEADER]\n");return buffer.ToString();}
// Original:
public void copy(MutableValue source) {MutableValueStr s = (MutableValueStr) source;exists = s.exists;value.copyBytes(s.value);}

// Translation:
public override void Copy(MutableValue source){MutableValueStr s = (MutableValueStr)source;Exists = s.Exists;Value.CopyBytes(s.Value);}
// Original:
public ReaderSlice(int start, int length, int readerIndex) {this.start = start;this.length = length;this.readerIndex = readerIndex;}

// Translation:
public ReaderSlice(int start, int length, int readerIndex){this.Start = start;this.Length = length;this.ReaderIndex = readerIndex;}
// Original:
public AddTagsResult addTags(AddTagsRequest request) {request = beforeClientExecution(request);return executeAddTags(request);}

// Translation:
public virtual AddTagsResponse AddTags(AddTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance;return Invoke<AddTagsResponse>(request, options);}
// Original:
public static URI create(String uri) {try {return new URI(uri);} catch (URISyntaxException e) {throw new IllegalArgumentException(e.getMessage());}}

// Translation:
public static java.net.URI create(string uri){try{return new java.net.URI(uri);}catch (java.net.URISyntaxException e){throw new System.ArgumentException(e.Message);}}
// Original:
public UpdateConfigurationSetTrackingOptionsResult updateConfigurationSetTrackingOptions(UpdateConfigurationSetTrackingOptionsRequest request) {request = beforeClientExecution(request);return executeUpdateConfigurationSetTrackingOptions(request);}

// Translation:
public virtual UpdateConfigurationSetTrackingOptionsResponse UpdateConfigurationSetTrackingOptions(UpdateConfigurationSetTrackingOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateConfigurationSetTrackingOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateConfigurationSetTrackingOptionsResponseUnmarshaller.Instance;return Invoke<UpdateConfigurationSetTrackingOptionsResponse>(request, options);}
// Original:
public void recycleByteBlocks(byte[][] blocks, int start, int end) {bytesUsed.addAndGet(-((end-start)* blockSize));for (int i = start; i < end; i++) {blocks[i] = null;}}

// Translation:
public override void RecycleByteBlocks(byte[][] blocks, int start, int end){bytesUsed.AddAndGet(-((end - start) * m_blockSize));for (var i = start; i < end; i++){blocks[i] = null;}}
// Original:
public DoubleBuffer compact() {throw new ReadOnlyBufferException();}

// Translation:
public override java.nio.DoubleBuffer compact(){throw new java.nio.ReadOnlyBufferException();}
// Original:
public GetVoiceConnectorStreamingConfigurationResult getVoiceConnectorStreamingConfiguration(GetVoiceConnectorStreamingConfigurationRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorStreamingConfiguration(request);}

// Translation:
public virtual GetVoiceConnectorStreamingConfigurationResponse GetVoiceConnectorStreamingConfiguration(GetVoiceConnectorStreamingConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorStreamingConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorStreamingConfigurationResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorStreamingConfigurationResponse>(request, options);}
// Original:
public boolean hasNext() {return pos + 1 < size();}

// Translation:
public virtual bool hasNext(){return this.pos + 1 < this._enclosing.size();}
// Original:
public double getRKNumberAt(int coffset) {return RKUtil.decodeNumber(field_3_rks[coffset].rk);}

// Translation:
public double GetRKNumberAt(int coffset){return RKUtil.DecodeNumber(field_3_rks[coffset].rk);}
// Original:
public ReimportApiResult reimportApi(ReimportApiRequest request) {request = beforeClientExecution(request);return executeReimportApi(request);}

// Translation:
public virtual ReimportApiResponse ReimportApi(ReimportApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;return Invoke<ReimportApiResponse>(request, options);}
// Original:
public boolean hasNext() {return link.previous != list.voidLink;}

// Translation:
public virtual bool hasNext(){return this.link.previous != this.list.voidLink;}
// Original:
public void fill(BytesRef b, long start) {final int index = (int) (start >> blockBits);final int offset = (int) (start & blockMask);final byte[] block = b.bytes = blocks[index];if ((block[offset] & 128) == 0) {b.length = block[offset];b.offset = offset+1;} else {b.length = ((block[offset] & 0x7f) << 8) | (block[1+offset] & 0xff);b.offset = offset+2;assert b.length > 0;}}

// Translation:
public void Fill(BytesRef b, long start){var index = (int)(start >> blockBits);var offset = (int)(start & blockMask);var block = b.Bytes = blocks[index];if ((block[offset] & 128) == 0){b.Length = block[offset];b.Offset = offset + 1;}else{b.Length = ((block[offset] & 0x7f) << 8) | (block[1 + offset] & 0xff);b.Offset = offset + 2;Debug.Assert(b.Length > 0);}}
// Original:
public void trimToSize() {if (n < array.length) {byte[] aux = new byte[n];System.arraycopy(array, 0, aux, 0, n);array = aux;}}

// Translation:
public virtual void TrimToSize(){if (n < array.Length){byte[] aux = new byte[n];System.Array.Copy(array, 0, aux, 0, n);array = aux;}}
// Original:
public SubmoduleUpdateCommand submoduleUpdate() {return new SubmoduleUpdateCommand(repo);}

// Translation:
public virtual SubmoduleUpdateCommand SubmoduleUpdate(){return new SubmoduleUpdateCommand(repo);}
// Original:
public static ShortBuffer wrap(short[] array, int start, int shortCount) {Arrays.checkOffsetAndCount(array.length, start, shortCount);ShortBuffer buf = new ReadWriteShortArrayBuffer(array);buf.position = start;buf.limit = start + shortCount;return buf;}

// Translation:
public static java.nio.ShortBuffer wrap(short[] array_1, int start, int shortCount){java.util.Arrays.checkOffsetAndCount(array_1.Length, start, shortCount);java.nio.ShortBuffer buf = new java.nio.ReadWriteShortArrayBuffer(array_1);buf._position = start;buf._limit = start + shortCount;return buf;}
// Original:
public GetVpcLinksResult getVpcLinks(GetVpcLinksRequest request) {request = beforeClientExecution(request);return executeGetVpcLinks(request);}

// Translation:
public virtual GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance;return Invoke<GetVpcLinksResponse>(request, options);}
// Original:
public RemoveResourcePermissionResult removeResourcePermission(RemoveResourcePermissionRequest request) {request = beforeClientExecution(request);return executeRemoveResourcePermission(request);}

// Translation:
public virtual RemoveResourcePermissionResponse RemoveResourcePermission(RemoveResourcePermissionRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveResourcePermissionRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveResourcePermissionResponseUnmarshaller.Instance;return Invoke<RemoveResourcePermissionResponse>(request, options);}
// Original:
public ListIndexResult listIndex(ListIndexRequest request) {request = beforeClientExecution(request);return executeListIndex(request);}

// Translation:
public virtual ListIndexResponse ListIndex(ListIndexRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListIndexRequestMarshaller.Instance;options.ResponseUnmarshaller = ListIndexResponseUnmarshaller.Instance;return Invoke<ListIndexResponse>(request, options);}
// Original:
public List<Integer> toList() {List<Integer> values = new ArrayList<Integer>();int n = intervals.size();for (int i = 0; i < n; i++) {Interval I = intervals.get(i);int a = I.a;int b = I.b;for (int v=a; v<=b; v++) {values.add(v);}}return values;}

// Translation:
public virtual IList<int> ToList(){IList<int> values = new ArrayList<int>();int n = intervals.Count;for (int i = 0; i < n; i++){Interval I = intervals[i];int a = I.a;int b = I.b;for (int v = a; v <= b; v++){values.Add(v);}}return values;}
// Original:
public CreateCustomerGatewayRequest(GatewayType type, String publicIp, Integer bgpAsn) {setType(type.toString());setPublicIp(publicIp);setBgpAsn(bgpAsn);}

// Translation:
public CreateCustomerGatewayRequest(GatewayType type, string publicIp, int bgpAsn){_type = type;_publicIp = publicIp;_bgpAsn = bgpAsn;}
// Original:
public int getWeekNo(Calendar cal, int weekStartOn) {if (weekStartOn == 1) {cal.setFirstDayOfWeek(Calendar.SUNDAY);} else {cal.setFirstDayOfWeek(Calendar.MONDAY);}return cal.get(Calendar.WEEK_OF_YEAR);}

// Translation:
public int getWeekNo(DateTime dt, int weekStartOn){GregorianCalendar cal = new GregorianCalendar();int weekOfYear;if (weekStartOn == 1){weekOfYear = cal.GetWeekOfYear(dt, CalendarWeekRule.FirstDay, DayOfWeek.Sunday);}else{weekOfYear = cal.GetWeekOfYear(dt, CalendarWeekRule.FirstDay, DayOfWeek.Monday);}return weekOfYear;}
// Original:
public String toString() {String s = "o:"+offset+" p:"+position+" c:"+count;if (rptGroup >=0 ) {s += " rpt:"+rptGroup+",i"+rptInd;}return s;}

// Translation:
public override string ToString(){string s = "d:" + doc + " o:" + offset + " p:" + position + " c:" + count;if (rptGroup >= 0){s += " rpt:" + rptGroup + ",i" + rptInd;}return s;}
// Original:
@Override public ListIterator<E> listIterator() {return listIterator(0);}

// Translation:
public virtual java.util.ListIterator<E> listIterator(){return listIterator(0);}
// Original:
public GetUserEndpointsResult getUserEndpoints(GetUserEndpointsRequest request) {request = beforeClientExecution(request);return executeGetUserEndpoints(request);}

// Translation:
public virtual GetUserEndpointsResponse GetUserEndpoints(GetUserEndpointsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUserEndpointsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUserEndpointsResponseUnmarshaller.Instance;return Invoke<GetUserEndpointsResponse>(request, options);}
// Original:
public UAX29URLEmailTokenizerImpl(java.io.Reader in) {this.zzReader = in;}

// Translation:
public UAX29URLEmailTokenizerImpl(TextReader @in){this.zzReader = @in;}
// Original:
public ResetCommand addPath(String path) {if (mode != null)throw new JGitInternalException(MessageFormat.format(JGitText.get().illegalCombinationOfArguments, "<paths>...", "[--mixed | --soft | --hard]")); filepaths.add(path);return this;}

// Translation:
public virtual NGit.Api.ResetCommand AddPath(string file){if (mode != null){throw new JGitInternalException(MessageFormat.Format(JGitText.Get().illegalCombinationOfArguments, "<paths>...", "[--mixed | --soft | --hard]"));}filepaths.AddItem(file);return this;}
// Original:
public org.apache.poi.hssf.record.Record findNextRecordBySid(short sid, int pos) {int matches = 0;for (org.apache.poi.hssf.record.Record record : records.getRecords() ) {if (record.getSid() == sid && matches++ == pos) {return record;}}return null;}

// Translation:
public Record FindNextRecordBySid(short sid, int pos){int matches = 0;for (IEnumerator iterator = records.GetEnumerator(); iterator.MoveNext(); ){Record record = (Record)iterator.Current;if (record.Sid == sid){if (matches++ == pos)return record;}}return null;}
// Original:
public int[] toArray() {return toIntegerList().toArray();}

// Translation:
public virtual int[] ToArray(){return ToIntegerList().ToArray();}
// Original:
public GetDomainNamesResult getDomainNames(GetDomainNamesRequest request) {request = beforeClientExecution(request);return executeGetDomainNames(request);}

// Translation:
public virtual GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance;return Invoke<GetDomainNamesResponse>(request, options);}
// Original:
public UpdateTemplateAliasResult updateTemplateAlias(UpdateTemplateAliasRequest request) {request = beforeClientExecution(request);return executeUpdateTemplateAlias(request);}

// Translation:
public virtual UpdateTemplateAliasResponse UpdateTemplateAlias(UpdateTemplateAliasRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateTemplateAliasRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateTemplateAliasResponseUnmarshaller.Instance;return Invoke<UpdateTemplateAliasResponse>(request, options);}
// Original:
public String getReceivePack() {return receivePack;}

// Translation:
public virtual string GetReceivePack(){return receivePack;}
// Original:
public synchronized Set<K> keySet() {Set<K> ks = keySet;return (ks != null) ? ks : (keySet = new KeySet());}

// Translation:
public virtual java.util.Set<K> keySet(){lock (this){java.util.Set<K> ks = _keySet;return (ks != null) ? ks : (_keySet = new java.util.Hashtable<K, V>.KeySet(this));}}
// Original:
public AssociateAddressRequest(String instanceId, String publicIp) {setInstanceId(instanceId);setPublicIp(publicIp);}

// Translation:
public AssociateAddressRequest(string instanceId, string publicIp){_instanceId = instanceId;_publicIp = publicIp;}
// Original:
public static CharBuffer wrap(CharSequence chseq) {return new CharSequenceAdapter(chseq);}

// Translation:
public static java.nio.CharBuffer wrap(java.lang.CharSequence chseq){return new java.nio.CharSequenceAdapter(chseq);}
// Original:
public void reset() {reset(true, true);}

// Translation:
public void Reset(){Reset(true, true);}
// Original:
public static double nChooseK(int n, int k) {double d = 1;if (n<0 || k<0 || n<k) {d= Double.NaN;}else {int minnk = Math.min(n-k, k);int maxnk = Math.max(n-k, k);for (int i=maxnk; i<n; i++) {d *= i+1;}d /= factorial(minnk);}return d;}

// Translation:
public static double NChooseK(int n, int k){double d = 1;if (n < 0 || k < 0 || n < k){d = double.NaN;}else{int minnk = Math.Min(n - k, k);int maxnk = Math.Max(n - k, k);for (int i = maxnk; i < n; i++){d *= i + 1;}d /= Factorial(minnk);}return d;}
// Original:
public static String toHex(String value) {return (value == null || value.length() == 0)? "[]": toHex(value.getBytes(LocaleUtil.CHARSET_1252));}

// Translation:
public static string ToHex(long value){return ToHex(value, 16);}
// Original:
public String getAccessSecret() {return getCredentials().getAccessKeySecret();}

// Translation:
public string GetAccessSecret(){return GetCredentials().GetAccessKeySecret();}
// Original:
public static BoundSheetRecord[] orderByBofPosition(List<BoundSheetRecord> boundSheetRecords) {BoundSheetRecord[] bsrs = new BoundSheetRecord[boundSheetRecords.size()];boundSheetRecords.toArray(bsrs);Arrays.sort(bsrs, BoundSheetRecord::compareRecords);return bsrs;}

// Translation:
public static BoundSheetRecord[] OrderByBofPosition(List<BoundSheetRecord> boundSheetRecords){BoundSheetRecord[] bsrs = boundSheetRecords.ToArray();Array.Sort(bsrs, new BOFComparator());return bsrs;}
// Original:
public DeleteNotebookInstanceResult deleteNotebookInstance(DeleteNotebookInstanceRequest request) {request = beforeClientExecution(request);return executeDeleteNotebookInstance(request);}

// Translation:
public virtual DeleteNotebookInstanceResponse DeleteNotebookInstance(DeleteNotebookInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNotebookInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNotebookInstanceResponseUnmarshaller.Instance;return Invoke<DeleteNotebookInstanceResponse>(request, options);}
// Original:
public DTDHandler getDTDHandler () {return (theDTDHandler == this) ? null : theDTDHandler;}

// Translation:
public void close (){lock (this.mBlock) {if (this.mParseState != null) {this.mParseState.Dispose ();this.mParseState = null;this.mBlock.decOpenCountLocked ();}}}