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
- RNGCryptoServiceProvider.cs
- ProfileServiceManager.cs
- DeclarativeCatalogPartDesigner.cs
- DesignTimeVisibleAttribute.cs
- XsltLibrary.cs
- LogFlushAsyncResult.cs
- XsltQilFactory.cs
- StreamedWorkflowDefinitionContext.cs
- ExternalFile.cs
- RegisteredScript.cs
- SoapExtension.cs
- XmlILCommand.cs
- NotSupportedException.cs
- ViewValidator.cs
- WhitespaceRuleReader.cs
- SqlTypeSystemProvider.cs
- Base64Stream.cs
- SpinWait.cs
- EventMappingSettingsCollection.cs
- ProfileManager.cs
- WindowManager.cs
- BamlBinaryReader.cs
- TransformGroup.cs
- DataGridTablesFactory.cs
- FontCollection.cs
- XsdSchemaFileEditor.cs
- WeakEventManager.cs
- JsonReader.cs
- CommandExpr.cs
- OdbcHandle.cs
- BackStopAuthenticationModule.cs
- PageParser.cs
- GeneralTransform3D.cs
- SchemaMerger.cs
- Nullable.cs
- PipeStream.cs
- ToolboxItem.cs
- MD5.cs
- OrderPreservingSpoolingTask.cs
- EnlistmentTraceIdentifier.cs
- SrgsItemList.cs
- VectorKeyFrameCollection.cs
- PassportPrincipal.cs
- WebBrowserNavigatedEventHandler.cs
- SmtpDateTime.cs
- IntSecurity.cs
- InkCanvasSelectionAdorner.cs
- FontWeight.cs
- DataRecord.cs
- ExpressionHelper.cs
- NotConverter.cs
- TreeViewEvent.cs
- TemplateField.cs
- XmlDocumentSerializer.cs
- OdbcDataReader.cs
- IntegrationExceptionEventArgs.cs
- PageCodeDomTreeGenerator.cs
- ButtonField.cs
- XamlToRtfParser.cs
- ProcessStartInfo.cs
- PtsHelper.cs
- TextEncodedRawTextWriter.cs
- DocumentEventArgs.cs
- ChildrenQuery.cs
- GlyphInfoList.cs
- UnsafeNativeMethods.cs
- InputScopeNameConverter.cs
- SemanticTag.cs
- ErrorTableItemStyle.cs
- KeyGesture.cs
- UInt64Storage.cs
- ControlParameter.cs
- Avt.cs
- WebBrowserHelper.cs
- RequestCacheEntry.cs
- CodeArrayCreateExpression.cs
- ComplusTypeValidator.cs
- DataStreamFromComStream.cs
- Convert.cs
- DbModificationClause.cs
- ContextMarshalException.cs
- TypeBuilder.cs
- StylusPointProperty.cs
- SettingsPropertyCollection.cs
- TextChangedEventArgs.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ImageInfo.cs
- FreezableOperations.cs
- Buffer.cs
- DocumentEventArgs.cs
- KeyGestureValueSerializer.cs
- AssociationSetMetadata.cs
- DataBoundControlAdapter.cs
- PtsHost.cs
- Object.cs
- InputBinding.cs
- UInt16Storage.cs
- NumericUpDownAccelerationCollection.cs
- ConfigurationSectionGroupCollection.cs
- AssemblyInfo.cs