Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilIterator.cs / 1305376 / QilIterator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- using System; using System.Diagnostics; namespace System.Xml.Xsl.Qil { ////// View over a Qil iterator node (For or Let). /// internal class QilIterator : QilReference { private QilNode binding; //----------------------------------------------- // Constructor //----------------------------------------------- ////// Construct an iterator /// public QilIterator(QilNodeType nodeType, QilNode binding) : base(nodeType) { Binding = binding; } //----------------------------------------------- // IListmethods -- override //----------------------------------------------- public override int Count { get { return 1; } } public override QilNode this[int index] { get { if (index != 0) throw new IndexOutOfRangeException(); return this.binding; } set { if (index != 0) throw new IndexOutOfRangeException(); this.binding = value; } } //----------------------------------------------- // QilIterator methods //----------------------------------------------- /// /// Expression which is bound to the iterator. /// public QilNode Binding { get { return this.binding; } set { this.binding = 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
- SimpleExpression.cs
- PrintDialog.cs
- TCEAdapterGenerator.cs
- EventSinkActivityDesigner.cs
- WebPartConnectionsCloseVerb.cs
- XmlSerializableReader.cs
- DbConnectionPoolCounters.cs
- XmlArrayAttribute.cs
- UserCancellationException.cs
- UpdatePanelTriggerCollection.cs
- ModuleBuilderData.cs
- FixedSOMGroup.cs
- MediaScriptCommandRoutedEventArgs.cs
- Int32.cs
- PrimaryKeyTypeConverter.cs
- IntSecurity.cs
- EntityWrapper.cs
- TdsParserStateObject.cs
- InvariantComparer.cs
- HtmlMobileTextWriter.cs
- WmpBitmapEncoder.cs
- CodeSnippetCompileUnit.cs
- CanonicalXml.cs
- COSERVERINFO.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- StrongNameKeyPair.cs
- RefExpr.cs
- Operand.cs
- RowCache.cs
- DataRowCollection.cs
- XPathScanner.cs
- ExpressionVisitor.cs
- SqlPersonalizationProvider.cs
- ImageListUtils.cs
- WpfXamlType.cs
- ToolStripOverflow.cs
- HyperlinkAutomationPeer.cs
- DataSpaceManager.cs
- UpdateException.cs
- ReversePositionQuery.cs
- FlowNode.cs
- UnionQueryOperator.cs
- ToolBarTray.cs
- CryptoConfig.cs
- NetStream.cs
- Soap12FormatExtensions.cs
- CapabilitiesUse.cs
- MemberListBinding.cs
- dataobject.cs
- PolicyDesigner.cs
- AssemblyName.cs
- WebCategoryAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- ExpressionVisitorHelpers.cs
- IDispatchConstantAttribute.cs
- SudsParser.cs
- DataGridViewCell.cs
- StandardBindingElement.cs
- SqlProfileProvider.cs
- ModuleBuilder.cs
- FileDialog.cs
- DbConnectionPoolGroupProviderInfo.cs
- GridViewColumnHeader.cs
- ConstNode.cs
- EncryptedData.cs
- WindowCollection.cs
- StringOutput.cs
- SqlDataReaderSmi.cs
- MSAANativeProvider.cs
- AttributeInfo.cs
- DbMetaDataColumnNames.cs
- SizeConverter.cs
- ExtendedPropertyDescriptor.cs
- ScriptControlManager.cs
- BamlTreeNode.cs
- ConnectionPointConverter.cs
- ReferencedAssembly.cs
- ProfessionalColorTable.cs
- WindowInteractionStateTracker.cs
- HashUtility.cs
- MetadataExchangeBindings.cs
- _NetworkingPerfCounters.cs
- ContainerUIElement3D.cs
- XmlAnyElementAttribute.cs
- ControlUtil.cs
- ManagementObjectSearcher.cs
- CrossSiteScriptingValidation.cs
- OdbcReferenceCollection.cs
- OperationFormatter.cs
- ToolStripScrollButton.cs
- XmlSchemaChoice.cs
- StrokeNode.cs
- SRDisplayNameAttribute.cs
- TrailingSpaceComparer.cs
- OleDbReferenceCollection.cs
- Mouse.cs
- ComponentSerializationService.cs
- TextTreeDeleteContentUndoUnit.cs
- RemotingConfiguration.cs
- ZipIOLocalFileHeader.cs