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
- PropertyEmitter.cs
- WpfSharedBamlSchemaContext.cs
- DoubleCollectionConverter.cs
- CustomSignedXml.cs
- AsymmetricKeyExchangeFormatter.cs
- SystemSounds.cs
- WindowsAuthenticationEventArgs.cs
- FormatSelectingMessageInspector.cs
- XmlSchemaElement.cs
- ErrorProvider.cs
- XPathDocumentIterator.cs
- DataObjectSettingDataEventArgs.cs
- AudioFormatConverter.cs
- BitSet.cs
- WsatAdminException.cs
- HttpConfigurationSystem.cs
- SqlBulkCopy.cs
- HttpListenerResponse.cs
- SafeNativeMethods.cs
- LabelInfo.cs
- FocusTracker.cs
- EditorPart.cs
- HMACSHA1.cs
- Bits.cs
- EditableRegion.cs
- StubHelpers.cs
- AutoCompleteStringCollection.cs
- COM2PropertyBuilderUITypeEditor.cs
- GlyphsSerializer.cs
- TemplateControlBuildProvider.cs
- MatrixAnimationUsingKeyFrames.cs
- ManagementEventArgs.cs
- QueryAccessibilityHelpEvent.cs
- xmlsaver.cs
- PauseStoryboard.cs
- SafeEventLogReadHandle.cs
- CallbackDebugBehavior.cs
- InkSerializer.cs
- ProbeMatchesMessageCD1.cs
- SpellerInterop.cs
- StandardBindingElement.cs
- TableItemPatternIdentifiers.cs
- InvalidAsynchronousStateException.cs
- ZipIOLocalFileHeader.cs
- DetailsViewPagerRow.cs
- DBSchemaRow.cs
- BrowserDefinitionCollection.cs
- contentDescriptor.cs
- EventLog.cs
- ServiceHostingEnvironment.cs
- PrintPageEvent.cs
- EventProperty.cs
- ConfigurationStrings.cs
- PeerCustomResolverElement.cs
- CalloutQueueItem.cs
- WebPartVerbCollection.cs
- ZoomComboBox.cs
- MatrixUtil.cs
- Line.cs
- Icon.cs
- PageThemeParser.cs
- XmlSchemaAnnotation.cs
- ParagraphResult.cs
- NotifyParentPropertyAttribute.cs
- DataProtection.cs
- WebBodyFormatMessageProperty.cs
- UnionExpr.cs
- Task.cs
- DropDownButton.cs
- Rotation3DAnimationUsingKeyFrames.cs
- InvalidateEvent.cs
- LabelLiteral.cs
- InstanceCreationEditor.cs
- UrlPath.cs
- ScopelessEnumAttribute.cs
- WebPartHelpVerb.cs
- LocalTransaction.cs
- RectAnimationBase.cs
- EntityDataSourceView.cs
- LogStore.cs
- oledbconnectionstring.cs
- TemplateComponentConnector.cs
- ReadOnlyMetadataCollection.cs
- SchemaManager.cs
- BamlResourceDeserializer.cs
- Publisher.cs
- TableCell.cs
- sqlcontext.cs
- CapabilitiesAssignment.cs
- XmlNamedNodeMap.cs
- CodeStatementCollection.cs
- MenuItemStyleCollection.cs
- SqlConnection.cs
- SqlMethodCallConverter.cs
- ObservableDictionary.cs
- sqlpipe.cs
- ExchangeUtilities.cs
- ProfileBuildProvider.cs
- RelationshipEndMember.cs
- DataBoundControlHelper.cs