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
- ConnectivityStatus.cs
- Size.cs
- SqlCaseSimplifier.cs
- HttpWebRequest.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- TriggerActionCollection.cs
- ListViewUpdatedEventArgs.cs
- XmlSchemaType.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- CrossAppDomainChannel.cs
- AnnotationAuthorChangedEventArgs.cs
- ThreadExceptionDialog.cs
- FunctionDetailsReader.cs
- WindowsContainer.cs
- OleDbMetaDataFactory.cs
- MaskInputRejectedEventArgs.cs
- WindowsTokenRoleProvider.cs
- UserControlParser.cs
- ClientApiGenerator.cs
- MarkupCompilePass2.cs
- dsa.cs
- ColumnWidthChangingEvent.cs
- XmlValueConverter.cs
- CorrelationValidator.cs
- TraceXPathNavigator.cs
- SqlUnionizer.cs
- DataGridItemEventArgs.cs
- ConfigXmlText.cs
- ResourceWriter.cs
- InkCanvasSelection.cs
- ConnectivityStatus.cs
- CharStorage.cs
- Soap12ServerProtocol.cs
- InvalidateEvent.cs
- ListViewItemMouseHoverEvent.cs
- SessionEndingEventArgs.cs
- DetailsViewPageEventArgs.cs
- ConfigurationSectionCollection.cs
- DeferredElementTreeState.cs
- xml.cs
- PlainXmlDeserializer.cs
- PropertiesTab.cs
- MsmqInputMessagePool.cs
- ResourceSet.cs
- WindowsImpersonationContext.cs
- OuterGlowBitmapEffect.cs
- SymbolPair.cs
- FixedPosition.cs
- ThreadInterruptedException.cs
- x509utils.cs
- _OverlappedAsyncResult.cs
- XmlToDatasetMap.cs
- ColorMap.cs
- DateTimeFormatInfoScanner.cs
- Certificate.cs
- UITypeEditor.cs
- WebServiceEnumData.cs
- MissingSatelliteAssemblyException.cs
- AnnotationAuthorChangedEventArgs.cs
- Base64Stream.cs
- XmlIterators.cs
- mactripleDES.cs
- SelectionHighlightInfo.cs
- HeaderedItemsControl.cs
- Menu.cs
- SqlUdtInfo.cs
- SettingsPropertyNotFoundException.cs
- Range.cs
- ObjectStateFormatter.cs
- RequestDescription.cs
- RegexReplacement.cs
- Matrix3D.cs
- Duration.cs
- EntityDataSourceContextCreatedEventArgs.cs
- ReadOnlyMetadataCollection.cs
- SoapAttributes.cs
- FileReader.cs
- WebPartConnectionsCloseVerb.cs
- MILUtilities.cs
- ConnectorMovedEventArgs.cs
- EditorPartDesigner.cs
- HttpRawResponse.cs
- DesignerForm.cs
- ReadOnlyDataSource.cs
- GridViewSortEventArgs.cs
- GridPattern.cs
- XPathDescendantIterator.cs
- ProviderConnectionPoint.cs
- DataTableExtensions.cs
- AttachedAnnotationChangedEventArgs.cs
- SafeFindHandle.cs
- SqlConnectionStringBuilder.cs
- Error.cs
- querybuilder.cs
- NullableFloatAverageAggregationOperator.cs
- webproxy.cs
- Metadata.cs
- latinshape.cs
- Parameter.cs
- SmtpSection.cs