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
- SecurityCredentialsManager.cs
- NetworkInformationException.cs
- TextParagraphCache.cs
- PasswordPropertyTextAttribute.cs
- GeneralTransform3D.cs
- DataGridState.cs
- oledbmetadatacolumnnames.cs
- SqlDataSourceQuery.cs
- ListViewItem.cs
- Validator.cs
- WindowsStatic.cs
- SchemaObjectWriter.cs
- ReservationNotFoundException.cs
- ToolboxItemAttribute.cs
- DrawListViewItemEventArgs.cs
- XmlSchemaAppInfo.cs
- MouseDevice.cs
- BaseComponentEditor.cs
- ElementNotAvailableException.cs
- CheckBoxStandardAdapter.cs
- XmlNodeReader.cs
- WebPartTracker.cs
- GZipDecoder.cs
- SafeSecurityHelper.cs
- StringPropertyBuilder.cs
- SharedPersonalizationStateInfo.cs
- ChildrenQuery.cs
- DecoderNLS.cs
- HtmlControlPersistable.cs
- RowTypeElement.cs
- CodeEventReferenceExpression.cs
- CellRelation.cs
- AssemblyResourceLoader.cs
- AspNetHostingPermission.cs
- EnvironmentPermission.cs
- ExtensibleClassFactory.cs
- FileRecordSequenceCompletedAsyncResult.cs
- SqlHelper.cs
- Pts.cs
- LocalizableAttribute.cs
- WorkflowLayouts.cs
- ReverseInheritProperty.cs
- ComPlusSynchronizationContext.cs
- Directory.cs
- QueueProcessor.cs
- HandlerBase.cs
- AnnotationService.cs
- Content.cs
- ThreadStateException.cs
- TableCellCollection.cs
- TextProperties.cs
- ParameterToken.cs
- InheritanceContextChangedEventManager.cs
- NativeRecognizer.cs
- TimerElapsedEvenArgs.cs
- MediaElementAutomationPeer.cs
- PasswordRecovery.cs
- TableHeaderCell.cs
- DesignerActionPropertyItem.cs
- FieldTemplateUserControl.cs
- HttpResponseHeader.cs
- Point.cs
- _SpnDictionary.cs
- FloaterParagraph.cs
- AppDomainManager.cs
- SafeFindHandle.cs
- PathSegment.cs
- SchemaDeclBase.cs
- SequenceNumber.cs
- PropertyCondition.cs
- DriveInfo.cs
- CloseSequence.cs
- PropertySourceInfo.cs
- DurableOperationContext.cs
- FontInfo.cs
- ConfigXmlText.cs
- SqlPersonalizationProvider.cs
- ConsoleTraceListener.cs
- HttpApplicationFactory.cs
- BindingGroup.cs
- ModuleElement.cs
- ProfileProvider.cs
- InternalMappingException.cs
- FormViewDeletedEventArgs.cs
- XmlParserContext.cs
- IsolatedStoragePermission.cs
- Parsers.cs
- DockAndAnchorLayout.cs
- AsyncParams.cs
- KnownTypeHelper.cs
- WindowsPrincipal.cs
- RefreshEventArgs.cs
- SimpleHandlerBuildProvider.cs
- WsatServiceAddress.cs
- DataTableTypeConverter.cs
- EpmSyndicationContentDeSerializer.cs
- SecurityPermission.cs
- DataServiceRequestArgs.cs
- WebPartEditorCancelVerb.cs
- sqlcontext.cs