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
- _ShellExpression.cs
- DrawingCollection.cs
- MethodBuilder.cs
- DataGridViewLinkCell.cs
- FixedSOMFixedBlock.cs
- EntityDataSourceChangingEventArgs.cs
- SqlDataAdapter.cs
- OdbcPermission.cs
- DataGridLinkButton.cs
- References.cs
- CssClassPropertyAttribute.cs
- _SSPIWrapper.cs
- AnchoredBlock.cs
- XmlSerializer.cs
- FillRuleValidation.cs
- _UriTypeConverter.cs
- MgmtConfigurationRecord.cs
- GlyphsSerializer.cs
- WebPartVerbCollection.cs
- LogConverter.cs
- GraphicsContainer.cs
- KeyEvent.cs
- ViewRendering.cs
- IsolatedStoragePermission.cs
- XPathQilFactory.cs
- MetafileHeader.cs
- PatternMatcher.cs
- HierarchicalDataSourceIDConverter.cs
- DataGridToolTip.cs
- UnmanagedMemoryStreamWrapper.cs
- StateDesigner.cs
- ProcessThread.cs
- SymmetricCryptoHandle.cs
- ThreadAttributes.cs
- XPathConvert.cs
- OleDbCommand.cs
- PathFigureCollection.cs
- InternalConfigRoot.cs
- FixedSOMTableRow.cs
- Fx.cs
- SqlXmlStorage.cs
- RadioButtonPopupAdapter.cs
- WorkflowQueuingService.cs
- AccessDataSource.cs
- MediaScriptCommandRoutedEventArgs.cs
- GridLength.cs
- _KerberosClient.cs
- HttpWebResponse.cs
- ProfileBuildProvider.cs
- XmlWriterSettings.cs
- PropertyCollection.cs
- FileDetails.cs
- SpinLock.cs
- FrameAutomationPeer.cs
- QueryOutputWriter.cs
- UrlParameterReader.cs
- DES.cs
- loginstatus.cs
- MetaModel.cs
- GroupBox.cs
- ConfigXmlCDataSection.cs
- ColumnHeaderConverter.cs
- MatrixAnimationUsingKeyFrames.cs
- OpCopier.cs
- ExtensibleSyndicationObject.cs
- CodeRegionDirective.cs
- ToolStripInSituService.cs
- ConfigurationStrings.cs
- SettingsPropertyCollection.cs
- _FixedSizeReader.cs
- DataGridViewColumnStateChangedEventArgs.cs
- JsonEnumDataContract.cs
- XmlSchemaType.cs
- OracleRowUpdatedEventArgs.cs
- SynchronizationContext.cs
- PageHandlerFactory.cs
- DelegatingTypeDescriptionProvider.cs
- BypassElement.cs
- MetadataLocation.cs
- StructureChangedEventArgs.cs
- ProgressBar.cs
- SamlSecurityToken.cs
- EventHandlers.cs
- SessionPageStatePersister.cs
- StandardMenuStripVerb.cs
- WorkflowViewStateService.cs
- XmlSchemaGroup.cs
- StorageModelBuildProvider.cs
- LingerOption.cs
- MsmqIntegrationBindingCollectionElement.cs
- ExpressionBuilderCollection.cs
- Vector3DCollectionConverter.cs
- XmlComment.cs
- WorkItem.cs
- BeginEvent.cs
- DesignConnectionCollection.cs
- MultipleViewProviderWrapper.cs
- SQLStringStorage.cs
- HtmlTable.cs
- GridEntryCollection.cs