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
- ManipulationBoundaryFeedbackEventArgs.cs
- Run.cs
- CheckBoxList.cs
- MediaTimeline.cs
- CustomWebEventKey.cs
- MSHTMLHost.cs
- InstallerTypeAttribute.cs
- SystemIPAddressInformation.cs
- PackWebResponse.cs
- VBIdentifierNameEditor.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ProfileManager.cs
- ConfigurationSection.cs
- PartialTrustValidationBehavior.cs
- ViewCellSlot.cs
- HtmlUtf8RawTextWriter.cs
- ReceiveActivityDesignerTheme.cs
- QueryAsyncResult.cs
- DecoderReplacementFallback.cs
- PeerName.cs
- IndicShape.cs
- COM2FontConverter.cs
- OracleCommandSet.cs
- HttpDictionary.cs
- SmiEventSink_Default.cs
- EncryptedXml.cs
- AuthenticatedStream.cs
- WindowExtensionMethods.cs
- OdbcConnection.cs
- RuntimeEnvironment.cs
- LabelEditEvent.cs
- ToolTipService.cs
- ContractSearchPattern.cs
- HitTestParameters.cs
- TableProviderWrapper.cs
- VisualStateChangedEventArgs.cs
- ValidationHelper.cs
- ScriptModule.cs
- AspCompat.cs
- XmlSchemas.cs
- UInt16.cs
- FormClosingEvent.cs
- SuppressMergeCheckAttribute.cs
- ColorComboBox.cs
- SubclassTypeValidator.cs
- TextSchema.cs
- HtmlToClrEventProxy.cs
- PageParser.cs
- ThicknessAnimationBase.cs
- FloaterBaseParaClient.cs
- SQLMoney.cs
- WebPartConnectionsDisconnectVerb.cs
- CreatingCookieEventArgs.cs
- Comparer.cs
- DesignBindingEditor.cs
- SelectionChangedEventArgs.cs
- SystemTcpStatistics.cs
- DataAdapter.cs
- TimeSpanMinutesConverter.cs
- GroupLabel.cs
- NonClientArea.cs
- FilterableData.cs
- TypeLoadException.cs
- Translator.cs
- Delegate.cs
- httpapplicationstate.cs
- StringFormat.cs
- ApplicationProxyInternal.cs
- TextSelection.cs
- SplitContainer.cs
- UpdatePanelTrigger.cs
- GregorianCalendarHelper.cs
- LongTypeConverter.cs
- CultureTableRecord.cs
- Executor.cs
- DispatcherTimer.cs
- CustomValidator.cs
- MenuTracker.cs
- DataGridColumnEventArgs.cs
- ConfigurationElementCollection.cs
- WebContext.cs
- TextBoxBase.cs
- DropShadowBitmapEffect.cs
- DropSource.cs
- PageHandlerFactory.cs
- ParallelActivityDesigner.cs
- DataSourceGeneratorException.cs
- Win32.cs
- MessageQueuePermissionEntry.cs
- ToolStripLabel.cs
- ArrayTypeMismatchException.cs
- RMEnrollmentPage2.cs
- PermissionSetTriple.cs
- PropertyReferenceExtension.cs
- IndependentlyAnimatedPropertyMetadata.cs
- GeneralTransformGroup.cs
- OutputScope.cs
- DefaultTraceListener.cs
- MultiSelector.cs
- ClientRuntimeConfig.cs