Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / XsltOld / ApplyImportsAction.cs / 1305376 / ApplyImportsAction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Xsl.XsltOld { using Res = System.Xml.Utils.Res; using System; using System.Diagnostics; using System.Xml; using System.Xml.XPath; internal class ApplyImportsAction : CompiledAction { private XmlQualifiedName mode; private Stylesheet stylesheet; private const int TemplateProcessed = 2; internal override void Compile(Compiler compiler) { CheckEmpty(compiler); if (! compiler.CanHaveApplyImports) { throw XsltException.Create(Res.Xslt_ApplyImports); } this.mode = compiler.CurrentMode; this.stylesheet = compiler.CompiledStylesheet; } internal override void Execute(Processor processor, ActionFrame frame) { Debug.Assert(processor != null && frame != null); switch (frame.State) { case Initialized: processor.PushTemplateLookup(frame.NodeSet, this.mode, /*importsOf:*/this.stylesheet); frame.State = TemplateProcessed; break; case TemplateProcessed: frame.Finished(); break; } } } } // 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
- ErrorWebPart.cs
- StateMachineDesignerPaint.cs
- CodeSnippetTypeMember.cs
- MatrixAnimationBase.cs
- FileSystemEventArgs.cs
- XmlBoundElement.cs
- FixedPageStructure.cs
- TextRange.cs
- UnsafeNativeMethods.cs
- Duration.cs
- SizeConverter.cs
- TrustManagerMoreInformation.cs
- TransactionProxy.cs
- GridEntryCollection.cs
- Pkcs7Signer.cs
- SecurityContext.cs
- VirtualPathProvider.cs
- IdentifierService.cs
- WebMessageFormatHelper.cs
- DataControlLinkButton.cs
- DataServiceQueryProvider.cs
- SchemaHelper.cs
- GridViewRowPresenterBase.cs
- Propagator.JoinPropagator.cs
- SchemaSetCompiler.cs
- DataList.cs
- HtmlInputPassword.cs
- ButtonBase.cs
- DataRelation.cs
- HtmlAnchor.cs
- ExpressionSelection.cs
- ExpressionNormalizer.cs
- ContentDisposition.cs
- MobileControlDesigner.cs
- AttributeQuery.cs
- IdentityValidationException.cs
- DataGridViewRowCollection.cs
- ArglessEventHandlerProxy.cs
- ProtectedProviderSettings.cs
- RuleSettingsCollection.cs
- DockingAttribute.cs
- OletxVolatileEnlistment.cs
- diagnosticsswitches.cs
- GlyphCollection.cs
- MouseActionConverter.cs
- CharacterShapingProperties.cs
- EditorServiceContext.cs
- XmlExpressionDumper.cs
- MouseEventArgs.cs
- FileChangesMonitor.cs
- FrameDimension.cs
- Int32CAMarshaler.cs
- DocumentApplicationJournalEntry.cs
- Emitter.cs
- PasswordValidationException.cs
- TraceHandlerErrorFormatter.cs
- PowerStatus.cs
- WhitespaceRuleLookup.cs
- TextServicesPropertyRanges.cs
- _HeaderInfo.cs
- ObjectViewEntityCollectionData.cs
- WindowsClaimSet.cs
- GridItemPatternIdentifiers.cs
- ItemList.cs
- UserControl.cs
- DataGridViewRowCollection.cs
- OrderedEnumerableRowCollection.cs
- mediaeventshelper.cs
- PropertyEntry.cs
- PropertyReference.cs
- BinaryFormatter.cs
- SingleAnimationUsingKeyFrames.cs
- XPathConvert.cs
- Paragraph.cs
- NativeMethods.cs
- RowUpdatedEventArgs.cs
- AssociationTypeEmitter.cs
- SchemaImporterExtension.cs
- RoleManagerEventArgs.cs
- DataGridLinkButton.cs
- HttpNamespaceReservationInstallComponent.cs
- TypeElementCollection.cs
- XsltConvert.cs
- RoutedEventHandlerInfo.cs
- ReadOnlyHierarchicalDataSource.cs
- ClrPerspective.cs
- DataGridRow.cs
- OdbcDataAdapter.cs
- DataServiceProcessingPipeline.cs
- PromptBuilder.cs
- NamespaceQuery.cs
- RegexCharClass.cs
- OrderPreservingSpoolingTask.cs
- CultureSpecificStringDictionary.cs
- XmlSchemaExporter.cs
- ColumnWidthChangedEvent.cs
- SqlDataSourceCache.cs
- ParserContext.cs
- HostVisual.cs
- AlignmentYValidation.cs