Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilTargetType.cs / 1 / 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
- ProgressiveCrcCalculatingStream.cs
- CatalogZoneDesigner.cs
- SecurityPolicySection.cs
- ToolboxItemCollection.cs
- XmlChoiceIdentifierAttribute.cs
- TextSegment.cs
- OpenFileDialog.cs
- ReadOnlyDataSourceView.cs
- TextTreeRootNode.cs
- RemoteWebConfigurationHost.cs
- Rule.cs
- ToolboxItem.cs
- Int64Storage.cs
- TemplateModeChangedEventArgs.cs
- UpdateProgress.cs
- CommonDialog.cs
- SectionUpdates.cs
- ReturnValue.cs
- SafeHandles.cs
- ByteAnimationUsingKeyFrames.cs
- RunInstallerAttribute.cs
- InternalDispatchObject.cs
- TreeNodeStyleCollection.cs
- PersonalizationState.cs
- DiscoveryMessageProperty.cs
- TraceSwitch.cs
- DataServiceQueryProvider.cs
- Utils.cs
- ResourcePart.cs
- CDSsyncETWBCLProvider.cs
- PriorityBinding.cs
- TextElementCollection.cs
- DataSetMappper.cs
- NonVisualControlAttribute.cs
- PerspectiveCamera.cs
- XmlSchemaDatatype.cs
- SolidColorBrush.cs
- UndirectedGraph.cs
- DetailsView.cs
- XPathNodeIterator.cs
- DbBuffer.cs
- ContextMarshalException.cs
- DataViewSetting.cs
- RelatedEnd.cs
- DataServiceRequestException.cs
- WebPartHelpVerb.cs
- DataSourceSerializationException.cs
- DefaultEventAttribute.cs
- TaskDesigner.cs
- SchemaNames.cs
- VoiceSynthesis.cs
- MessageLogTraceRecord.cs
- CornerRadiusConverter.cs
- Converter.cs
- BoundPropertyEntry.cs
- WebPartConnectionsDisconnectVerb.cs
- BindingNavigator.cs
- EventData.cs
- CharacterHit.cs
- TextChange.cs
- _BaseOverlappedAsyncResult.cs
- FullTextLine.cs
- OdbcConnectionString.cs
- BamlRecordReader.cs
- BindingExpressionBase.cs
- DBConcurrencyException.cs
- ToolStripSeparator.cs
- autovalidator.cs
- HostSecurityManager.cs
- ParentUndoUnit.cs
- RichTextBox.cs
- GrammarBuilderWildcard.cs
- BitmapSource.cs
- ElapsedEventArgs.cs
- OracleEncoding.cs
- Currency.cs
- DbConnectionFactory.cs
- XmlSchemaAppInfo.cs
- AlternateViewCollection.cs
- WebPartConnection.cs
- TouchEventArgs.cs
- Guid.cs
- TransformPattern.cs
- ZoneLinkButton.cs
- UserControl.cs
- InputMethodStateTypeInfo.cs
- Vertex.cs
- TransactionScope.cs
- HtmlInputHidden.cs
- ResourceIDHelper.cs
- Base64Encoding.cs
- ReliabilityContractAttribute.cs
- HttpModuleAction.cs
- TextDecorationCollection.cs
- ADConnectionHelper.cs
- MimeFormatExtensions.cs
- FolderNameEditor.cs
- XmlReader.cs
- AuthenticationManager.cs
- ApplicationSettingsBase.cs