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
- SchemaObjectWriter.cs
- SafePipeHandle.cs
- MissingMethodException.cs
- EncoderParameter.cs
- MenuItemBinding.cs
- BuildTopDownAttribute.cs
- DetailsViewUpdateEventArgs.cs
- WebBrowserProgressChangedEventHandler.cs
- AutoGeneratedField.cs
- PathFigureCollectionValueSerializer.cs
- TrustSection.cs
- ToolStripSplitButton.cs
- ButtonChrome.cs
- XmlSchemaAnyAttribute.cs
- SecurityDescriptor.cs
- BaseResourcesBuildProvider.cs
- Psha1DerivedKeyGenerator.cs
- Membership.cs
- Vector3DIndependentAnimationStorage.cs
- CompressionTransform.cs
- ButtonBase.cs
- BooleanFacetDescriptionElement.cs
- SemanticResultValue.cs
- SQLInt16Storage.cs
- TraceContextEventArgs.cs
- WebHostedComPlusServiceHost.cs
- DES.cs
- CanExecuteRoutedEventArgs.cs
- BidOverLoads.cs
- TextPattern.cs
- WindowsSysHeader.cs
- SqlDataSourceSelectingEventArgs.cs
- PassportAuthentication.cs
- CultureInfoConverter.cs
- XmlSchemaSimpleContentExtension.cs
- MobileUITypeEditor.cs
- BooleanExpr.cs
- XmlException.cs
- Point3DAnimationUsingKeyFrames.cs
- TriggerBase.cs
- MasterPage.cs
- _KerberosClient.cs
- TitleStyle.cs
- ProgressChangedEventArgs.cs
- CodeTypeMemberCollection.cs
- CodeSubDirectoriesCollection.cs
- TaskResultSetter.cs
- ConstructorNeedsTagAttribute.cs
- BooleanStorage.cs
- VisualProxy.cs
- ColorConverter.cs
- StylusPlugin.cs
- PrintingPermissionAttribute.cs
- InputLanguageCollection.cs
- CodeGeneratorOptions.cs
- CroppedBitmap.cs
- SRef.cs
- RectangleHotSpot.cs
- BuildProviderAppliesToAttribute.cs
- XmlSchemaSimpleContentRestriction.cs
- DataColumnCollection.cs
- CaseStatementProjectedSlot.cs
- ReflectionServiceProvider.cs
- PriorityItem.cs
- ItemDragEvent.cs
- GlyphRunDrawing.cs
- ApplicationHost.cs
- XmlChoiceIdentifierAttribute.cs
- SimplePropertyEntry.cs
- HttpDebugHandler.cs
- BaseAsyncResult.cs
- SortKey.cs
- ThreadInterruptedException.cs
- TabPanel.cs
- InputMethodStateChangeEventArgs.cs
- WebControlsSection.cs
- ComponentDispatcherThread.cs
- ActivityCodeDomReferenceService.cs
- EntityStoreSchemaGenerator.cs
- ObjectManager.cs
- CustomTypeDescriptor.cs
- InternalBase.cs
- MetadataCollection.cs
- TextFormatterContext.cs
- Slider.cs
- RemoteHelper.cs
- SqlBulkCopy.cs
- IndexedWhereQueryOperator.cs
- QueryStringConverter.cs
- Bitmap.cs
- TemplateDefinition.cs
- EntityDataSourceWrapperCollection.cs
- AppSettingsReader.cs
- StringKeyFrameCollection.cs
- NumericUpDownAcceleration.cs
- FormattedTextSymbols.cs
- BlockExpression.cs
- XmlSchemaAttributeGroup.cs
- SoapEnumAttribute.cs
- SafeCancelMibChangeNotify.cs