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
- FixUpCollection.cs
- ParagraphVisual.cs
- PaperSource.cs
- ParameterCollection.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ObjectCloneHelper.cs
- COAUTHINFO.cs
- _KerberosClient.cs
- SecondaryIndex.cs
- SQLInt16Storage.cs
- SchemaTableColumn.cs
- PathFigureCollection.cs
- SetterBase.cs
- Simplifier.cs
- WebBrowserEvent.cs
- NotifyCollectionChangedEventArgs.cs
- WorkflowTraceTransfer.cs
- DetailsViewRowCollection.cs
- ClipboardProcessor.cs
- WebRequestModulesSection.cs
- SimpleRecyclingCache.cs
- ReflectionHelper.cs
- Array.cs
- ToolStripContainer.cs
- ResourceDictionary.cs
- SqlDataSourceConfigureSortForm.cs
- CopyOnWriteList.cs
- ColorAnimationBase.cs
- NativeMethods.cs
- ReliableSessionBindingElement.cs
- Timeline.cs
- ConfigXmlSignificantWhitespace.cs
- RemotingConfigParser.cs
- RemotingConfiguration.cs
- HtmlInputHidden.cs
- LocalizationParserHooks.cs
- Dictionary.cs
- BaseValidator.cs
- HMACRIPEMD160.cs
- ResponseStream.cs
- SchemaComplexType.cs
- GridEntryCollection.cs
- ServiceModelConfigurationElementCollection.cs
- StrokeCollectionDefaultValueFactory.cs
- DiagnosticStrings.cs
- VisualTreeUtils.cs
- StrongName.cs
- ContentValidator.cs
- CodeBlockBuilder.cs
- _SSPIWrapper.cs
- MethodBuilderInstantiation.cs
- PackWebResponse.cs
- Stacktrace.cs
- CodeDirectoryCompiler.cs
- NeutralResourcesLanguageAttribute.cs
- Stopwatch.cs
- SplitterCancelEvent.cs
- CommonProperties.cs
- ProfileSection.cs
- XmlSchemaValidator.cs
- XmlSchemaDocumentation.cs
- CheckBoxList.cs
- EntryPointNotFoundException.cs
- StateBag.cs
- WsiProfilesElementCollection.cs
- HighlightVisual.cs
- ByteStack.cs
- ProcessHost.cs
- Logging.cs
- BindingElementExtensionElement.cs
- Group.cs
- ListViewGroupItemCollection.cs
- PeerContact.cs
- behaviorssection.cs
- CustomTrackingQuery.cs
- XmlElementAttributes.cs
- CompilationLock.cs
- ImageMap.cs
- __ComObject.cs
- controlskin.cs
- Converter.cs
- NullableConverter.cs
- SubqueryRules.cs
- PartitionedStream.cs
- WebPartAuthorizationEventArgs.cs
- XmlAutoDetectWriter.cs
- FamilyTypeface.cs
- RemoteArgument.cs
- Screen.cs
- EditingScopeUndoUnit.cs
- TransactionProtocol.cs
- RoutingTable.cs
- ExpressionVisitor.cs
- Splitter.cs
- XmlStrings.cs
- MarkerProperties.cs
- CornerRadiusConverter.cs
- MessageSecurityProtocolFactory.cs
- ExcCanonicalXml.cs
- TextDecorationCollectionConverter.cs