Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Regex / System / Text / RegularExpressions / CompiledRegexRunner.cs / 1305376 / CompiledRegexRunner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Reflection.Emit; #if !SILVERLIGHT 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); } #endif // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Transform.cs
- ProfileSettingsCollection.cs
- GeneralTransform2DTo3DTo2D.cs
- ObjectDataSource.cs
- ModelFactory.cs
- TcpStreams.cs
- ParameterModifier.cs
- _Win32.cs
- CodeExpressionStatement.cs
- DecoderReplacementFallback.cs
- FixedTextBuilder.cs
- Stylus.cs
- ChildrenQuery.cs
- DefaultBinder.cs
- NodeFunctions.cs
- CodeValidator.cs
- _ConnectionGroup.cs
- PKCS1MaskGenerationMethod.cs
- OutputCacheProfileCollection.cs
- Point3DAnimationBase.cs
- Function.cs
- LogManagementAsyncResult.cs
- RSAPKCS1SignatureFormatter.cs
- SuppressIldasmAttribute.cs
- GridViewColumn.cs
- HttpContextServiceHost.cs
- CanonicalFontFamilyReference.cs
- XmlCompatibilityReader.cs
- HttpFileCollectionWrapper.cs
- ListViewSortEventArgs.cs
- UniqueConstraint.cs
- HwndProxyElementProvider.cs
- CompilerGlobalScopeAttribute.cs
- WebServiceFault.cs
- XmlEnumAttribute.cs
- KoreanLunisolarCalendar.cs
- WorkflowMarkupSerializationManager.cs
- ValidateNames.cs
- XmlHierarchicalEnumerable.cs
- SplashScreen.cs
- UpDownBaseDesigner.cs
- ProtocolsConfigurationHandler.cs
- SplitterPanel.cs
- StsCommunicationException.cs
- COM2ExtendedBrowsingHandler.cs
- XhtmlBasicLiteralTextAdapter.cs
- _NativeSSPI.cs
- SafeIUnknown.cs
- QueryCacheEntry.cs
- StringBuilder.cs
- OracleDateTime.cs
- UpdateCompiler.cs
- StructuredProperty.cs
- FieldAccessException.cs
- Parameter.cs
- TabletDeviceInfo.cs
- CombinedHttpChannel.cs
- InputReportEventArgs.cs
- TabControlAutomationPeer.cs
- Debug.cs
- GroupBoxRenderer.cs
- CompiledRegexRunner.cs
- SiteMapNode.cs
- WindowShowOrOpenTracker.cs
- XmlCompatibilityReader.cs
- MobileControl.cs
- ScriptResourceInfo.cs
- RemotingConfigParser.cs
- DataColumnMapping.cs
- UnsafeMethods.cs
- WSDualHttpBindingElement.cs
- Random.cs
- MaskInputRejectedEventArgs.cs
- DataGridViewMethods.cs
- _RequestLifetimeSetter.cs
- JavaScriptString.cs
- OleDbSchemaGuid.cs
- FixedTextSelectionProcessor.cs
- MetadataCollection.cs
- FormsAuthenticationUserCollection.cs
- ManipulationStartingEventArgs.cs
- CodeExporter.cs
- SmtpFailedRecipientException.cs
- DetailsViewInsertedEventArgs.cs
- XmlNodeChangedEventManager.cs
- SiteMapSection.cs
- Memoizer.cs
- DoubleLink.cs
- BaseParagraph.cs
- XmlSecureResolver.cs
- sqlmetadatafactory.cs
- TypeListConverter.cs
- TerminatorSinks.cs
- RefreshEventArgs.cs
- XamlPoint3DCollectionSerializer.cs
- TemplateBindingExpression.cs
- TypedTableHandler.cs
- ImportOptions.cs
- RequiredAttributeAttribute.cs
- DynamicValidator.cs