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
- HttpApplication.cs
- BrushMappingModeValidation.cs
- RadioButtonAutomationPeer.cs
- SessionPageStateSection.cs
- FastEncoder.cs
- ExtractCollection.cs
- StorageInfo.cs
- ThrowHelper.cs
- DoubleUtil.cs
- ModifyActivitiesPropertyDescriptor.cs
- DataGridViewButtonCell.cs
- SerializationEventsCache.cs
- DragEventArgs.cs
- CurrencyWrapper.cs
- ProviderConnectionPointCollection.cs
- StringUtil.cs
- ProtocolsConfigurationEntry.cs
- PagedDataSource.cs
- SigningCredentials.cs
- TableRowCollection.cs
- MailWriter.cs
- ParserOptions.cs
- GridViewSelectEventArgs.cs
- DrawingGroup.cs
- ParenExpr.cs
- VisualStyleInformation.cs
- MimeWriter.cs
- HttpApplicationStateBase.cs
- ArglessEventHandlerProxy.cs
- ToolStripItemClickedEventArgs.cs
- AlternationConverter.cs
- SoapInteropTypes.cs
- ToolboxItemFilterAttribute.cs
- DataSvcMapFile.cs
- DataGridViewCellConverter.cs
- FormsAuthenticationEventArgs.cs
- HtmlTableCellCollection.cs
- X509ScopedServiceCertificateElement.cs
- MD5.cs
- BooleanAnimationBase.cs
- NameTable.cs
- CollectionsUtil.cs
- SafeEventLogWriteHandle.cs
- CodeBlockBuilder.cs
- ConfigurationManagerHelper.cs
- UnsafeNativeMethods.cs
- CallbackException.cs
- DomNameTable.cs
- SizeConverter.cs
- CurrentChangedEventManager.cs
- ToolStripSystemRenderer.cs
- HtmlElement.cs
- CodeDelegateInvokeExpression.cs
- ThousandthOfEmRealPoints.cs
- IndexedEnumerable.cs
- TraceHandler.cs
- TemplateXamlParser.cs
- OdbcUtils.cs
- ReflectPropertyDescriptor.cs
- VerticalAlignConverter.cs
- SHA512Managed.cs
- CallTemplateAction.cs
- DropShadowBitmapEffect.cs
- ContextStack.cs
- xdrvalidator.cs
- DataGridViewTopLeftHeaderCell.cs
- IIS7WorkerRequest.cs
- MULTI_QI.cs
- ConfigXmlDocument.cs
- ChannelSinkStacks.cs
- DropDownList.cs
- MonthCalendar.cs
- Setter.cs
- Emitter.cs
- MsmqIntegrationInputMessage.cs
- DataSourceProvider.cs
- CertificateManager.cs
- HttpCacheVaryByContentEncodings.cs
- DependencyProperty.cs
- XmlRootAttribute.cs
- dbenumerator.cs
- CommonRemoteMemoryBlock.cs
- ResourceDictionary.cs
- AdRotator.cs
- SecUtil.cs
- AuthenticatingEventArgs.cs
- PropertyMapper.cs
- CmsUtils.cs
- Odbc32.cs
- Missing.cs
- SourceSwitch.cs
- PropertyState.cs
- SignedInfo.cs
- OdbcParameterCollection.cs
- HttpListenerException.cs
- GradientStop.cs
- CollectionDataContractAttribute.cs
- DynamicUpdateCommand.cs
- TextRangeEdit.cs
- SqlDataSourceCommandEventArgs.cs