Code:
/ DotNET / DotNET / 8.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
- StorageAssociationTypeMapping.cs
- EventArgs.cs
- InfoCardSymmetricAlgorithm.cs
- CreateInstanceBinder.cs
- SqlRowUpdatingEvent.cs
- DocumentGridContextMenu.cs
- ButtonBaseAdapter.cs
- ExtendedPropertyCollection.cs
- _NegoState.cs
- Win32SafeHandles.cs
- DateTimeConverter.cs
- Asn1IntegerConverter.cs
- RuleSet.cs
- CachedPathData.cs
- QueryCursorEventArgs.cs
- BrowsableAttribute.cs
- PersonalizationStateInfoCollection.cs
- EdmPropertyAttribute.cs
- WCFModelStrings.Designer.cs
- SinglePhaseEnlistment.cs
- LoginView.cs
- StoreContentChangedEventArgs.cs
- LineGeometry.cs
- KeyValueSerializer.cs
- ProfilePropertySettings.cs
- HtmlInputButton.cs
- EditorZone.cs
- StrokeNodeOperations2.cs
- ConditionalExpression.cs
- BroadcastEventHelper.cs
- ReflectPropertyDescriptor.cs
- ExpressionVisitorHelpers.cs
- _BaseOverlappedAsyncResult.cs
- PointLight.cs
- AssociationTypeEmitter.cs
- Literal.cs
- QuarticEase.cs
- QuotedPrintableStream.cs
- MD5.cs
- RelationshipConstraintValidator.cs
- FrameworkPropertyMetadata.cs
- CacheAxisQuery.cs
- TypeConverterValueSerializer.cs
- HttpListenerRequest.cs
- PathHelper.cs
- Menu.cs
- TransactionProxy.cs
- RuleSettingsCollection.cs
- SHA1.cs
- XPathNode.cs
- BulletedList.cs
- DataSourceUtil.cs
- ThrowHelper.cs
- Separator.cs
- Sql8ConformanceChecker.cs
- BitmapMetadataEnumerator.cs
- WindowsFormsSectionHandler.cs
- SignatureToken.cs
- SmiMetaData.cs
- SigningCredentials.cs
- SimpleLine.cs
- UnauthorizedAccessException.cs
- SqlUdtInfo.cs
- SqlDataSourceCommandEventArgs.cs
- XmlQuerySequence.cs
- ZipIOFileItemStream.cs
- xamlnodes.cs
- CompositeActivityDesigner.cs
- XmlIncludeAttribute.cs
- ColumnClickEvent.cs
- GridViewDesigner.cs
- WebDisplayNameAttribute.cs
- FileAuthorizationModule.cs
- EntityDataSourceChangedEventArgs.cs
- SpeakProgressEventArgs.cs
- ButtonPopupAdapter.cs
- PropertyBuilder.cs
- PersianCalendar.cs
- DiagnosticTrace.cs
- WebBrowsableAttribute.cs
- RuntimeHandles.cs
- EmbeddedObject.cs
- ImpersonationContext.cs
- CodeLabeledStatement.cs
- Label.cs
- EntityContainerAssociationSet.cs
- PtsPage.cs
- XsdBuilder.cs
- UnsafeNativeMethods.cs
- DocumentXmlWriter.cs
- IfAction.cs
- ControlEvent.cs
- BulletedListEventArgs.cs
- ByteAnimationUsingKeyFrames.cs
- DataColumnMapping.cs
- SettingsPropertyIsReadOnlyException.cs
- Dynamic.cs
- ShapingEngine.cs
- BinaryWriter.cs
- _BasicClient.cs