Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilTargetType.cs / 1305376 / QilTargetType.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Xml.Schema; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil operator having two children, the second of which is a literal type. /// ////// Don't construct QIL nodes directly; instead, use the internal class QilTargetType : QilBinary { //----------------------------------------------- // Constructor //----------------------------------------------- ///QilFactory . ////// Construct a new node /// public QilTargetType(QilNodeType nodeType, QilNode expr, QilNode targetType) : base(nodeType, expr, targetType) { } //----------------------------------------------- // QilTargetType methods //----------------------------------------------- public QilNode Source { get { return Left; } set { Left = value; } } public XmlQueryType TargetType { get { return (XmlQueryType) ((QilLiteral) Right).Value; } set { ((QilLiteral) Right).Value = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Xml.Schema; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil operator having two children, the second of which is a literal type. /// ////// Don't construct QIL nodes directly; instead, use the internal class QilTargetType : QilBinary { //----------------------------------------------- // Constructor //----------------------------------------------- ///QilFactory . ////// Construct a new node /// public QilTargetType(QilNodeType nodeType, QilNode expr, QilNode targetType) : base(nodeType, expr, targetType) { } //----------------------------------------------- // QilTargetType methods //----------------------------------------------- public QilNode Source { get { return Left; } set { Left = value; } } public XmlQueryType TargetType { get { return (XmlQueryType) ((QilLiteral) Right).Value; } set { ((QilLiteral) Right).Value = value; } } } } // 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
- XmlStreamNodeWriter.cs
- DataServiceProviderMethods.cs
- SqlUserDefinedAggregateAttribute.cs
- TextEditorParagraphs.cs
- CodeMemberEvent.cs
- PriorityBinding.cs
- SqlBuilder.cs
- SqlDataRecord.cs
- EmptyEnumerable.cs
- BaseTreeIterator.cs
- TileBrush.cs
- ApplicationCommands.cs
- SoapFaultCodes.cs
- QilLoop.cs
- MarkupObject.cs
- SplitContainer.cs
- EntityDataSourceWrapperCollection.cs
- TileBrush.cs
- NgenServicingAttributes.cs
- DateBoldEvent.cs
- OperationAbortedException.cs
- OdbcFactory.cs
- BindingGroup.cs
- FocusManager.cs
- UserControl.cs
- TextCollapsingProperties.cs
- ClientBuildManager.cs
- CommonRemoteMemoryBlock.cs
- CopyCodeAction.cs
- XmlWrappingReader.cs
- InternalCache.cs
- Debugger.cs
- externdll.cs
- MultiAsyncResult.cs
- Authorization.cs
- SelectionManager.cs
- AjaxFrameworkAssemblyAttribute.cs
- SoapExtensionImporter.cs
- RC2.cs
- Error.cs
- TableRow.cs
- assemblycache.cs
- CryptoStream.cs
- SessionStateModule.cs
- ClientConfigurationHost.cs
- TypeUtil.cs
- PreviewKeyDownEventArgs.cs
- SamlAuthorityBinding.cs
- PauseStoryboard.cs
- DesignerAutoFormatCollection.cs
- TextCompositionEventArgs.cs
- TextPointerBase.cs
- DataServiceQueryException.cs
- HttpListenerTimeoutManager.cs
- AuthenticationManager.cs
- XmlTextReader.cs
- UIElement3D.cs
- DocumentAutomationPeer.cs
- StylusOverProperty.cs
- OdbcParameterCollection.cs
- XXXOnTypeBuilderInstantiation.cs
- AnalyzedTree.cs
- EdmScalarPropertyAttribute.cs
- CapabilitiesState.cs
- HMACRIPEMD160.cs
- DataGridViewCellEventArgs.cs
- ContextMenu.cs
- securestring.cs
- SchemaInfo.cs
- RemoveStoryboard.cs
- TextDecoration.cs
- RequestCacheValidator.cs
- PlatformNotSupportedException.cs
- Point3DKeyFrameCollection.cs
- UnmanagedMemoryStream.cs
- HtmlForm.cs
- ExpandCollapseProviderWrapper.cs
- DataObjectMethodAttribute.cs
- XamlStyleSerializer.cs
- RenderDataDrawingContext.cs
- TargetParameterCountException.cs
- SHA512.cs
- CurrentChangingEventManager.cs
- Crc32Helper.cs
- IResourceProvider.cs
- NavigationCommands.cs
- Utils.cs
- CodeDirectionExpression.cs
- OleDbCommandBuilder.cs
- EncodedStreamFactory.cs
- BinaryReader.cs
- SqlDataRecord.cs
- ConstructorBuilder.cs
- NavigationCommands.cs
- DataSourceExpressionCollection.cs
- X509Chain.cs
- EnumType.cs
- DataGridViewIntLinkedList.cs
- GlyphRunDrawing.cs
- XmlILIndex.cs