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
- DataListItemCollection.cs
- Config.cs
- FormViewUpdateEventArgs.cs
- MaskedTextBox.cs
- TreeViewCancelEvent.cs
- XmlDocument.cs
- SystemIPGlobalProperties.cs
- columnmapfactory.cs
- BufferModeSettings.cs
- _ShellExpression.cs
- ConnectionManager.cs
- AuthorizationBehavior.cs
- RouteUrlExpressionBuilder.cs
- CompilerGlobalScopeAttribute.cs
- DataMemberAttribute.cs
- DefaultMergeHelper.cs
- Int16KeyFrameCollection.cs
- PermissionSet.cs
- EntityException.cs
- SafeLocalMemHandle.cs
- CodeCatchClause.cs
- ModelVisual3D.cs
- CrossContextChannel.cs
- CompositeActivityTypeDescriptor.cs
- FormsAuthentication.cs
- ParserContext.cs
- InternalTransaction.cs
- AnnouncementEndpoint.cs
- iisPickupDirectory.cs
- PassportAuthentication.cs
- InstanceValue.cs
- recordstate.cs
- activationcontext.cs
- EntityContainerAssociationSetEnd.cs
- DESCryptoServiceProvider.cs
- ConstNode.cs
- DoubleAnimationUsingKeyFrames.cs
- Normalization.cs
- VersionedStreamOwner.cs
- XmlElementCollection.cs
- XmlSigningNodeWriter.cs
- ContextBase.cs
- CheckBoxPopupAdapter.cs
- DbParameterCollectionHelper.cs
- DataBinding.cs
- ObjectDataSourceView.cs
- HandlerBase.cs
- ArrangedElement.cs
- XmlToDatasetMap.cs
- SectionUpdates.cs
- Scanner.cs
- DocumentsTrace.cs
- AddInToken.cs
- CodeSnippetStatement.cs
- BamlRecordHelper.cs
- LinkConverter.cs
- RulePatternOps.cs
- XmlSchemaRedefine.cs
- XmlSortKey.cs
- connectionpool.cs
- FixedDocument.cs
- WebPartCloseVerb.cs
- TextAdaptor.cs
- CorrelationService.cs
- StickyNote.cs
- ComboBoxItem.cs
- OleDbRowUpdatedEvent.cs
- Selection.cs
- Pkcs9Attribute.cs
- WorkflowRuntime.cs
- XPathQilFactory.cs
- HtmlForm.cs
- AccessibleObject.cs
- UnsafeNativeMethods.cs
- BevelBitmapEffect.cs
- SqlConnection.cs
- GenericQueueSurrogate.cs
- StrokeSerializer.cs
- ProcessInfo.cs
- SimpleTextLine.cs
- VirtualDirectoryMappingCollection.cs
- InternalControlCollection.cs
- Panel.cs
- RuntimeArgumentHandle.cs
- OleDbPropertySetGuid.cs
- KeyboardNavigation.cs
- ListSortDescriptionCollection.cs
- XmlSchemaElement.cs
- WindowsTooltip.cs
- ButtonRenderer.cs
- ListSortDescription.cs
- TemplateControl.cs
- TempEnvironment.cs
- PasswordTextContainer.cs
- FactoryMaker.cs
- GradientStopCollection.cs
- SecurityContext.cs
- InvokePattern.cs
- WorkflowElementDialog.cs
- CodeLinePragma.cs