Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Regex / System / Text / RegularExpressions / CompiledRegexRunner.cs / 1 / CompiledRegexRunner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Reflection.Emit; namespace System.Text.RegularExpressions { internal sealed class CompiledRegexRunner : RegexRunner { NoParamDelegate goMethod; FindFirstCharDelegate findFirstCharMethod; NoParamDelegate initTrackCountMethod; internal CompiledRegexRunner() {} internal void SetDelegates(NoParamDelegate go, FindFirstCharDelegate firstChar, NoParamDelegate trackCount) { goMethod = go; findFirstCharMethod = firstChar; initTrackCountMethod = trackCount; } protected override void Go() { goMethod(this); } protected override bool FindFirstChar() { return findFirstCharMethod(this); } protected override void InitTrackCount() { initTrackCountMethod(this); } } internal delegate void NoParamDelegate(RegexRunner r); internal delegate bool FindFirstCharDelegate(RegexRunner r); }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReadWriteSpinLock.cs
- ColumnHeader.cs
- HttpCachePolicyWrapper.cs
- DataSetMappper.cs
- ArgumentNullException.cs
- XpsFontSubsetter.cs
- IsolatedStorageException.cs
- PropertyEmitter.cs
- CodeIterationStatement.cs
- DataGridViewCellConverter.cs
- RectangleF.cs
- UIElementParaClient.cs
- shaperfactoryquerycacheentry.cs
- RawStylusInputCustomDataList.cs
- WebPartRestoreVerb.cs
- AttributeQuery.cs
- BooleanConverter.cs
- VisualBasicReference.cs
- DataGrid.cs
- AdapterSwitches.cs
- HttpHandlersSection.cs
- ImageListUtils.cs
- DoubleLink.cs
- LineServicesRun.cs
- CodeBlockBuilder.cs
- EncryptedPackageFilter.cs
- TdsParserStateObject.cs
- InkCanvas.cs
- PeerName.cs
- XmlTextWriter.cs
- ConstructorBuilder.cs
- TreeBuilderBamlTranslator.cs
- TypeTypeConverter.cs
- MarshalDirectiveException.cs
- Vector3dCollection.cs
- XslUrlEditor.cs
- HostExecutionContextManager.cs
- UserControl.cs
- ColorAnimationUsingKeyFrames.cs
- DataServicePagingProviderWrapper.cs
- HttpCookiesSection.cs
- DbConvert.cs
- SortDescriptionCollection.cs
- HiddenField.cs
- EmptyElement.cs
- GridLengthConverter.cs
- ListBoxChrome.cs
- ControlBuilder.cs
- Int64Animation.cs
- FrameworkRichTextComposition.cs
- FocusTracker.cs
- SID.cs
- SupportsEventValidationAttribute.cs
- SectionRecord.cs
- SafeCoTaskMem.cs
- SrgsDocument.cs
- PageMediaSize.cs
- CreateParams.cs
- ZipIORawDataFileBlock.cs
- recordstatefactory.cs
- Matrix3DStack.cs
- CodeMethodInvokeExpression.cs
- WebPartDescription.cs
- UndoManager.cs
- GridToolTip.cs
- XmlSignatureProperties.cs
- WebMessageEncodingElement.cs
- EndOfStreamException.cs
- EntityKey.cs
- DataViewListener.cs
- AdornerDecorator.cs
- MetaModel.cs
- SynchronizationContext.cs
- IHttpResponseInternal.cs
- WindowsRegion.cs
- AutomationPatternInfo.cs
- FixedElement.cs
- DesignerSelectionListAdapter.cs
- DictionaryEntry.cs
- DataGridViewColumnHeaderCell.cs
- RequestQueryProcessor.cs
- propertytag.cs
- Label.cs
- DataQuery.cs
- EasingQuaternionKeyFrame.cs
- DetailsViewUpdatedEventArgs.cs
- Comparer.cs
- SaveWorkflowAsyncResult.cs
- ScopedKnownTypes.cs
- ProjectionCamera.cs
- BindingListCollectionView.cs
- AssemblyCollection.cs
- NegatedConstant.cs
- QueryResults.cs
- Assembly.cs
- FixedTextBuilder.cs
- DeploymentSectionCache.cs
- ReversePositionQuery.cs
- AncestorChangedEventArgs.cs
- AssertHelper.cs