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
- WpfPayload.cs
- ServiceProviders.cs
- FormsIdentity.cs
- CounterSample.cs
- DrawingVisual.cs
- Duration.cs
- SQLResource.cs
- RegionData.cs
- DataComponentMethodGenerator.cs
- Rotation3DKeyFrameCollection.cs
- TemplatedAdorner.cs
- WindowsFormsHelpers.cs
- Margins.cs
- SharedStatics.cs
- ForwardPositionQuery.cs
- BinaryObjectInfo.cs
- Compiler.cs
- SelectorItemAutomationPeer.cs
- CodeDomLoader.cs
- PageOrientation.cs
- NavigationCommands.cs
- ListBoxItemAutomationPeer.cs
- SetterBaseCollection.cs
- FixedSchema.cs
- SamlSecurityTokenAuthenticator.cs
- XmlSchemaImporter.cs
- TextEffectCollection.cs
- UITypeEditors.cs
- PassportAuthenticationEventArgs.cs
- BackgroundWorker.cs
- StoreItemCollection.cs
- HttpValueCollection.cs
- DSACryptoServiceProvider.cs
- BufferedOutputStream.cs
- PageAsyncTask.cs
- Rotation3DAnimationBase.cs
- XmlBinaryWriterSession.cs
- ConsoleCancelEventArgs.cs
- ActivitySurrogateSelector.cs
- PageContent.cs
- CallbackException.cs
- FixedHyperLink.cs
- SqlBulkCopy.cs
- FixUpCollection.cs
- DrawingServices.cs
- BlurBitmapEffect.cs
- CommonProperties.cs
- StylusPointPropertyId.cs
- MarkerProperties.cs
- OrderPreservingPipeliningSpoolingTask.cs
- DragCompletedEventArgs.cs
- AsyncSerializedWorker.cs
- GeneralTransformCollection.cs
- localization.cs
- AdornerPresentationContext.cs
- ConfigurationFileMap.cs
- SmtpSection.cs
- RenderOptions.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- WorkflowQueueInfo.cs
- LiteralControl.cs
- TreeNodeClickEventArgs.cs
- DataGridViewTopLeftHeaderCell.cs
- DataSet.cs
- Baml6ConstructorInfo.cs
- OperationAbortedException.cs
- FixedDocument.cs
- SignatureDescription.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ShaderEffect.cs
- WinInet.cs
- HtmlTernaryTree.cs
- Comparer.cs
- MULTI_QI.cs
- AutomationProperty.cs
- XmlWrappingReader.cs
- OracleBFile.cs
- listitem.cs
- CodeBlockBuilder.cs
- ObjectViewFactory.cs
- UIAgentAsyncBeginRequest.cs
- PieceNameHelper.cs
- DetailsViewDeletedEventArgs.cs
- PageVisual.cs
- ContourSegment.cs
- QueryCursorEventArgs.cs
- ClockController.cs
- LoginName.cs
- TemplateBamlRecordReader.cs
- _HeaderInfo.cs
- LiteralControl.cs
- EntityPropertyMappingAttribute.cs
- Crc32.cs
- AxisAngleRotation3D.cs
- TraceProvider.cs
- ToolStripScrollButton.cs
- AssemblyInfo.cs
- GPRECT.cs
- ListControl.cs
- RegistryPermission.cs