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
- SendMessageContent.cs
- ExpressionBuilder.cs
- FormatterConverter.cs
- Debug.cs
- BatchWriter.cs
- PointCollection.cs
- PersonalizationEntry.cs
- DetectRunnableInstancesTask.cs
- SecurityKeyType.cs
- OLEDB_Enum.cs
- SqlDataSourceCache.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- PassportPrincipal.cs
- OleDbSchemaGuid.cs
- ToolStripItemImageRenderEventArgs.cs
- WebPartDisplayMode.cs
- SafeNativeMemoryHandle.cs
- securitycriticaldataClass.cs
- ResolveResponseInfo.cs
- ComPersistableTypeElement.cs
- ComponentDispatcher.cs
- PaperSource.cs
- NavigationHelper.cs
- StrongNameUtility.cs
- SupportsEventValidationAttribute.cs
- Exceptions.cs
- ChildTable.cs
- MobileCapabilities.cs
- CookieHandler.cs
- FilePrompt.cs
- COSERVERINFO.cs
- HttpWriter.cs
- TcpChannelFactory.cs
- TextAutomationPeer.cs
- MetadataArtifactLoaderCompositeResource.cs
- DefaultObjectMappingItemCollection.cs
- TextStore.cs
- ManagementInstaller.cs
- RightsManagementEncryptedStream.cs
- SliderAutomationPeer.cs
- SharedConnectionInfo.cs
- DeclarativeCatalogPart.cs
- EmbeddedMailObject.cs
- ReflectTypeDescriptionProvider.cs
- TabControlCancelEvent.cs
- GeometryGroup.cs
- ToolStripOverflowButton.cs
- BufferModeSettings.cs
- InkCanvasAutomationPeer.cs
- versioninfo.cs
- DataMemberAttribute.cs
- IteratorDescriptor.cs
- SecurityManager.cs
- FileInfo.cs
- MenuAdapter.cs
- HandleCollector.cs
- nulltextcontainer.cs
- MSHTMLHost.cs
- SchemaAttDef.cs
- Logging.cs
- ManagedCodeMarkers.cs
- invalidudtexception.cs
- RemoteHelper.cs
- XamlToRtfWriter.cs
- HwndStylusInputProvider.cs
- TrackBarRenderer.cs
- DnsEndPoint.cs
- StrokeSerializer.cs
- DataGridPagerStyle.cs
- DataGridViewImageCell.cs
- HandlerFactoryCache.cs
- ControlIdConverter.cs
- XamlFigureLengthSerializer.cs
- Brush.cs
- PatternMatcher.cs
- Cursor.cs
- TraceListener.cs
- NavigateUrlConverter.cs
- DataGridViewControlCollection.cs
- DataBindingExpressionBuilder.cs
- CustomPopupPlacement.cs
- DropTarget.cs
- ContextMenu.cs
- ValidatorCompatibilityHelper.cs
- SqlConnectionStringBuilder.cs
- ImageSourceConverter.cs
- AngleUtil.cs
- OverrideMode.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SoundPlayerAction.cs
- FacetDescriptionElement.cs
- OdbcDataAdapter.cs
- ChannelSinkStacks.cs
- UIInitializationException.cs
- ProbeDuplexAsyncResult.cs
- Permission.cs
- UInt32Converter.cs
- TraceContextRecord.cs
- MiniLockedBorderGlyph.cs
- ToolStripDesignerAvailabilityAttribute.cs