Code:
/ FX-1434 / FX-1434 / 1.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
- WebAdminConfigurationHelper.cs
- SwitchCase.cs
- FeedUtils.cs
- StorageMappingFragment.cs
- DetectEofStream.cs
- XmlWrappingWriter.cs
- FormattedText.cs
- Dynamic.cs
- DescendantOverDescendantQuery.cs
- ResolveInfo.cs
- BindingExpressionUncommonField.cs
- Preprocessor.cs
- NameSpaceEvent.cs
- CommonRemoteMemoryBlock.cs
- HtmlInputPassword.cs
- parserscommon.cs
- LazyTextWriterCreator.cs
- FlatButtonAppearance.cs
- DoubleAnimationClockResource.cs
- Stylesheet.cs
- CodeExpressionStatement.cs
- MimePart.cs
- ComplexTypeEmitter.cs
- ProcessThread.cs
- RegisteredHiddenField.cs
- XmlSerializationWriter.cs
- XmlReflectionImporter.cs
- ReadOnlyTernaryTree.cs
- DirectoryObjectSecurity.cs
- BaseUriHelper.cs
- XmlQualifiedName.cs
- CollectionBase.cs
- RequestCachePolicyConverter.cs
- DataGridTableCollection.cs
- DesignUtil.cs
- RepeaterDesigner.cs
- Mutex.cs
- xsdvalidator.cs
- processwaithandle.cs
- GridViewUpdatedEventArgs.cs
- PerspectiveCamera.cs
- ComponentChangedEvent.cs
- TextPenaltyModule.cs
- NaturalLanguageHyphenator.cs
- ExpressionReplacer.cs
- TableLayout.cs
- HttpWebRequest.cs
- WindowsScrollBar.cs
- SoapCodeExporter.cs
- BooleanAnimationUsingKeyFrames.cs
- Int32Rect.cs
- Fonts.cs
- ViewValidator.cs
- NativeMethods.cs
- SystemKeyConverter.cs
- WebPartConnection.cs
- WebPartCancelEventArgs.cs
- Argument.cs
- StaticTextPointer.cs
- GPStream.cs
- ValidatedControlConverter.cs
- InputLanguageSource.cs
- FontStretches.cs
- FontCacheUtil.cs
- pingexception.cs
- EventLog.cs
- CompositeFontParser.cs
- HandlerFactoryWrapper.cs
- DbConnectionPoolGroup.cs
- PasswordRecoveryDesigner.cs
- EntityClassGenerator.cs
- GridLengthConverter.cs
- CardSpaceException.cs
- BmpBitmapDecoder.cs
- CommandLibraryHelper.cs
- BidOverLoads.cs
- HostSecurityManager.cs
- TextEditorTables.cs
- DelegatedStream.cs
- TraceContextEventArgs.cs
- ClientViaElement.cs
- Assembly.cs
- DispatchWrapper.cs
- ClientCultureInfo.cs
- RandomNumberGenerator.cs
- ProtectedConfiguration.cs
- BitmapMetadataBlob.cs
- InputLanguageSource.cs
- PermissionSetTriple.cs
- InteropBitmapSource.cs
- ProviderException.cs
- AdornerHitTestResult.cs
- WebResponse.cs
- MetadataImporter.cs
- SharedPersonalizationStateInfo.cs
- baseshape.cs
- Vector3DKeyFrameCollection.cs
- ButtonFieldBase.cs
- Configuration.cs
- ExeContext.cs