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
- ResetableIterator.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SafeMemoryMappedViewHandle.cs
- SqlXml.cs
- cookie.cs
- ToolStripProgressBar.cs
- RepeaterItem.cs
- WebRequestModuleElementCollection.cs
- X509Certificate.cs
- ColumnWidthChangedEvent.cs
- Base64Decoder.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- TextBoxBase.cs
- PageCatalogPart.cs
- CharStorage.cs
- AnimationClock.cs
- ScriptResourceInfo.cs
- ThreadPoolTaskScheduler.cs
- PresentationSource.cs
- UndirectedGraph.cs
- CodeDelegateInvokeExpression.cs
- SvcMapFileSerializer.cs
- NullableConverter.cs
- EventProvider.cs
- ResourceProviderFactory.cs
- EdmConstants.cs
- CommandID.cs
- Bitmap.cs
- RemotingClientProxy.cs
- PreProcessInputEventArgs.cs
- AspCompat.cs
- isolationinterop.cs
- AggregateNode.cs
- PageAdapter.cs
- NotSupportedException.cs
- SwitchAttribute.cs
- EncoderBestFitFallback.cs
- ProtocolsSection.cs
- CloseCryptoHandleRequest.cs
- XmlMemberMapping.cs
- AnnotationAuthorChangedEventArgs.cs
- PropertyKey.cs
- DrawingContextDrawingContextWalker.cs
- DictionaryEntry.cs
- Binding.cs
- RuntimeEnvironment.cs
- LeftCellWrapper.cs
- TargetControlTypeCache.cs
- CommonDialog.cs
- ZipIOExtraFieldZip64Element.cs
- ConsumerConnectionPoint.cs
- AnnotationMap.cs
- ImmComposition.cs
- BuildProvider.cs
- EntityDataSourceViewSchema.cs
- StrokeSerializer.cs
- CngKeyCreationParameters.cs
- ActivityWithResultWrapper.cs
- EntityDataSourceViewSchema.cs
- ProtocolsConfiguration.cs
- CheckBoxRenderer.cs
- XmlSchemaSimpleTypeRestriction.cs
- PackageProperties.cs
- FakeModelItemImpl.cs
- DataGridViewCellStateChangedEventArgs.cs
- ErrorWebPart.cs
- AsyncInvokeContext.cs
- WindowsAuthenticationEventArgs.cs
- DataBoundLiteralControl.cs
- StyleXamlParser.cs
- HtmlControl.cs
- BlurBitmapEffect.cs
- remotingproxy.cs
- PersonalizablePropertyEntry.cs
- BitSet.cs
- CollaborationHelperFunctions.cs
- DebugView.cs
- FreeFormDragDropManager.cs
- TraceContextEventArgs.cs
- SocketInformation.cs
- AppDomainManager.cs
- XPathScanner.cs
- GroupBoxAutomationPeer.cs
- Brush.cs
- RubberbandSelector.cs
- TableRowCollection.cs
- XmlAttributeCache.cs
- BuildResultCache.cs
- OperandQuery.cs
- EndPoint.cs
- ScriptModule.cs
- ViewManager.cs
- objectquery_tresulttype.cs
- TextEditorTyping.cs
- XmlILConstructAnalyzer.cs
- Connector.cs
- DataGridViewComboBoxEditingControl.cs
- FileSystemInfo.cs
- WebPartEventArgs.cs
- DateRangeEvent.cs