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
- Soap12ServerProtocol.cs
- StringStorage.cs
- HtmlInputPassword.cs
- DirectionalLight.cs
- TimeZone.cs
- QuaternionAnimation.cs
- StrokeNodeOperations2.cs
- ThreadAbortException.cs
- ElementUtil.cs
- RouteTable.cs
- MULTI_QI.cs
- Int32AnimationUsingKeyFrames.cs
- StatusBarItem.cs
- CultureSpecificStringDictionary.cs
- Freezable.cs
- FieldAccessException.cs
- AncillaryOps.cs
- ObjectAnimationUsingKeyFrames.cs
- CurrentTimeZone.cs
- WebPartDisplayMode.cs
- SafePipeHandle.cs
- XomlCompilerResults.cs
- DataMisalignedException.cs
- TextEndOfSegment.cs
- MemoryRecordBuffer.cs
- PersistChildrenAttribute.cs
- RuntimeConfig.cs
- RichTextBoxContextMenu.cs
- XmlStreamStore.cs
- SymDocumentType.cs
- LookupBindingPropertiesAttribute.cs
- ParseNumbers.cs
- VerticalAlignConverter.cs
- StringAnimationBase.cs
- ActivityStateRecord.cs
- ExceptionTranslationTable.cs
- MSAANativeProvider.cs
- SqlRewriteScalarSubqueries.cs
- DebugView.cs
- SystemColors.cs
- NamedPermissionSet.cs
- Italic.cs
- PasswordDeriveBytes.cs
- ScriptHandlerFactory.cs
- RenderOptions.cs
- RewritingValidator.cs
- JavaScriptObjectDeserializer.cs
- CatalogZoneDesigner.cs
- xmlsaver.cs
- CustomErrorsSectionWrapper.cs
- DataListItem.cs
- CodePrimitiveExpression.cs
- DBParameter.cs
- Graph.cs
- ModelItemCollectionImpl.cs
- ToolboxItemCollection.cs
- NamedServiceModelExtensionCollectionElement.cs
- Constraint.cs
- OdbcTransaction.cs
- SqlDataRecord.cs
- EntityConnectionStringBuilder.cs
- TraceHandler.cs
- OperationContractAttribute.cs
- SingleAnimation.cs
- IconConverter.cs
- BamlBinaryWriter.cs
- ParserStreamGeometryContext.cs
- CodeRegionDirective.cs
- SmiTypedGetterSetter.cs
- NamespaceMapping.cs
- exports.cs
- DataContractAttribute.cs
- DataObjectAttribute.cs
- StrokeIntersection.cs
- ControlPaint.cs
- StagingAreaInputItem.cs
- unsafenativemethodstextservices.cs
- ReachDocumentSequenceSerializerAsync.cs
- StrongNameIdentityPermission.cs
- SetStoryboardSpeedRatio.cs
- DoubleCollectionConverter.cs
- WindowsIdentity.cs
- RawContentTypeMapper.cs
- MouseGestureConverter.cs
- ACL.cs
- KeyProperty.cs
- NavigationWindowAutomationPeer.cs
- AnnotationResourceCollection.cs
- Double.cs
- SqlRowUpdatingEvent.cs
- HttpHandlersSection.cs
- Base64WriteStateInfo.cs
- ApplicationHost.cs
- ServerValidateEventArgs.cs
- SchemaImporterExtension.cs
- ColorTransformHelper.cs
- InvokeProviderWrapper.cs
- Pen.cs
- QilName.cs
- CapabilitiesState.cs