Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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 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
- XmlNamespaceMapping.cs
- BindableAttribute.cs
- TreeViewEvent.cs
- CriticalHandle.cs
- AutomationProperties.cs
- Typeface.cs
- SqlGatherConsumedAliases.cs
- SerializationEventsCache.cs
- DockPanel.cs
- BinaryObjectWriter.cs
- RootAction.cs
- ValidationPropertyAttribute.cs
- XMLSyntaxException.cs
- FrameworkRichTextComposition.cs
- InvokePattern.cs
- IntSecurity.cs
- HtmlTable.cs
- SoapIgnoreAttribute.cs
- ObjectDataSourceEventArgs.cs
- PropertyGrid.cs
- ServiceKnownTypeAttribute.cs
- DataGridAddNewRow.cs
- XmlBindingWorker.cs
- StrongNameUtility.cs
- StateChangeEvent.cs
- TextReader.cs
- ObjectSpanRewriter.cs
- RegexCompilationInfo.cs
- XmlSchemaSet.cs
- Native.cs
- DetailsViewUpdateEventArgs.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ChannelTokenTypeConverter.cs
- ReaderContextStackData.cs
- OuterGlowBitmapEffect.cs
- keycontainerpermission.cs
- ActivityTypeResolver.xaml.cs
- IpcClientChannel.cs
- ValidationPropertyAttribute.cs
- ExpressionBuilder.cs
- WS2007HttpBinding.cs
- XmlCharacterData.cs
- PrintControllerWithStatusDialog.cs
- SubqueryRules.cs
- TextEditorCharacters.cs
- PersistenceParticipant.cs
- DocumentViewerConstants.cs
- HtmlInputHidden.cs
- VectorConverter.cs
- ListViewSelectEventArgs.cs
- AttributeEmitter.cs
- HyperLinkStyle.cs
- TraceHandlerErrorFormatter.cs
- SByteStorage.cs
- _AutoWebProxyScriptHelper.cs
- HtmlInputFile.cs
- Events.cs
- ControlBuilderAttribute.cs
- BinHexEncoder.cs
- DSGeneratorProblem.cs
- RoleManagerSection.cs
- AuthenticationConfig.cs
- BitmapEffectCollection.cs
- AnimationTimeline.cs
- PaperSource.cs
- SQlBooleanStorage.cs
- ComponentConverter.cs
- RuntimeHandles.cs
- IndentTextWriter.cs
- FormViewInsertEventArgs.cs
- RegionIterator.cs
- WindowsTab.cs
- FormsIdentity.cs
- User.cs
- EntitySqlQueryState.cs
- ConfigXmlSignificantWhitespace.cs
- RadioButton.cs
- CompModSwitches.cs
- XslNumber.cs
- SqlPersistenceProviderFactory.cs
- GridViewSelectEventArgs.cs
- ITreeGenerator.cs
- SqlCommandSet.cs
- FormViewUpdateEventArgs.cs
- HijriCalendar.cs
- PackageStore.cs
- ToolBarButton.cs
- DataGridCaption.cs
- RegexStringValidator.cs
- DesignerSelectionListAdapter.cs
- RsaSecurityTokenParameters.cs
- RegistryExceptionHelper.cs
- BuildDependencySet.cs
- SqlDataSource.cs
- EntityUtil.cs
- TextServicesCompartmentContext.cs
- BlobPersonalizationState.cs
- XmlRawWriterWrapper.cs
- StubHelpers.cs
- COM2PropertyDescriptor.cs