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 QilFactory .
///
internal class QilTargetType : QilBinary {
//-----------------------------------------------
// Constructor
//-----------------------------------------------
///
/// 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 QilFactory .
///
internal class QilTargetType : QilBinary {
//-----------------------------------------------
// Constructor
//-----------------------------------------------
///
/// 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
- RectIndependentAnimationStorage.cs
- ConnectionManagementElementCollection.cs
- PropertyValidationContext.cs
- SQLGuidStorage.cs
- AvTrace.cs
- ObjectTag.cs
- MaterialGroup.cs
- HttpHandlersSection.cs
- IUnknownConstantAttribute.cs
- GPRECT.cs
- LoadItemsEventArgs.cs
- ActiveXHelper.cs
- XmlWriter.cs
- ProxyAttribute.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- BitmapEffectvisualstate.cs
- ImageField.cs
- ColumnMapProcessor.cs
- UniqueIdentifierService.cs
- AliasedSlot.cs
- AuthenticationConfig.cs
- SingleAnimationUsingKeyFrames.cs
- WindowsToolbar.cs
- XmlChildNodes.cs
- HttpServerVarsCollection.cs
- StylusLogic.cs
- QuaternionIndependentAnimationStorage.cs
- ZipPackagePart.cs
- SafeFileMappingHandle.cs
- DataGridColumnCollection.cs
- BeginEvent.cs
- SafeCryptoHandles.cs
- PowerModeChangedEventArgs.cs
- StructuralCache.cs
- SignatureDescription.cs
- Identity.cs
- QilStrConcat.cs
- Interlocked.cs
- MobileControl.cs
- WindowShowOrOpenTracker.cs
- StringFunctions.cs
- ProbeMatchesMessageCD1.cs
- AmbientLight.cs
- MenuItemStyleCollection.cs
- URL.cs
- ItemCollection.cs
- HttpHandlerAction.cs
- ColumnMapTranslator.cs
- VerificationException.cs
- AssemblyHash.cs
- Int64KeyFrameCollection.cs
- HashMembershipCondition.cs
- VisualBasicDesignerHelper.cs
- Merger.cs
- WorkflowValidationFailedException.cs
- MoveSizeWinEventHandler.cs
- HttpWriter.cs
- PasswordDeriveBytes.cs
- ProtocolElement.cs
- TextEncodedRawTextWriter.cs
- DocumentApplication.cs
- SrgsElementList.cs
- LiteralControl.cs
- RoleGroupCollection.cs
- DocComment.cs
- Interfaces.cs
- InputBuffer.cs
- ContractMapping.cs
- SoundPlayerAction.cs
- TextProperties.cs
- TextSchema.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- XmlSchemaGroupRef.cs
- LoginView.cs
- HttpTransportSecurity.cs
- CompressedStack.cs
- ProfileEventArgs.cs
- UpdateManifestForBrowserApplication.cs
- DBSchemaRow.cs
- Oci.cs
- ExpressionEditorAttribute.cs
- WebPartPersonalization.cs
- ThousandthOfEmRealDoubles.cs
- InternalDuplexChannelListener.cs
- ChannelTerminatedException.cs
- TokenBasedSet.cs
- XmlCustomFormatter.cs
- RolePrincipal.cs
- XmlSchemaExternal.cs
- HttpResponseBase.cs
- XmlILStorageConverter.cs
- HttpCapabilitiesBase.cs
- BuildManager.cs
- RowSpanVector.cs
- RunClient.cs
- MobileCapabilities.cs
- TypefaceMap.cs
- ValueTable.cs
- HebrewNumber.cs
- WizardStepBase.cs