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 / QilIterator.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NativeMethods.cs
- HyperLinkColumn.cs
- StringPropertyBuilder.cs
- SemaphoreFullException.cs
- StrongNamePublicKeyBlob.cs
- StringSorter.cs
- Graphics.cs
- MruCache.cs
- ValidationSummaryDesigner.cs
- MessageParameterAttribute.cs
- UriSection.cs
- DynamicRendererThreadManager.cs
- NaturalLanguageHyphenator.cs
- _HelperAsyncResults.cs
- Process.cs
- WebScriptMetadataFormatter.cs
- TextDecorationCollectionConverter.cs
- SqlExpander.cs
- PropertyChangedEventManager.cs
- HttpListenerContext.cs
- ResourcePermissionBase.cs
- RevocationPoint.cs
- AssemblyBuilder.cs
- WebResourceAttribute.cs
- AssertSection.cs
- XmlCharType.cs
- FlowDocumentScrollViewer.cs
- TimeoutValidationAttribute.cs
- httpserverutility.cs
- DbTransaction.cs
- Exception.cs
- DataGridViewTextBoxColumn.cs
- ButtonAutomationPeer.cs
- XmlQueryTypeFactory.cs
- SamlAssertionKeyIdentifierClause.cs
- SQLBinary.cs
- BitmapDownload.cs
- BoundField.cs
- ExceptionWrapper.cs
- ConfigDefinitionUpdates.cs
- Icon.cs
- DownloadProgressEventArgs.cs
- ComponentDispatcherThread.cs
- ButtonColumn.cs
- MessageQueue.cs
- RuntimeArgumentHandle.cs
- SettingsSavedEventArgs.cs
- EdmError.cs
- AmbiguousMatchException.cs
- httpstaticobjectscollection.cs
- BamlStream.cs
- DesignerObject.cs
- SmtpClient.cs
- CheckoutException.cs
- BamlRecords.cs
- MenuItem.cs
- XmlLanguageConverter.cs
- ColumnCollection.cs
- WebServiceClientProxyGenerator.cs
- ResourceDictionaryCollection.cs
- XmlReader.cs
- DataRelationPropertyDescriptor.cs
- MatrixTransform.cs
- ExpressionNormalizer.cs
- SqlProcedureAttribute.cs
- HtmlSelect.cs
- OSFeature.cs
- VirtualPath.cs
- ObjectListCommandEventArgs.cs
- Duration.cs
- Span.cs
- MemberMaps.cs
- MonitorWrapper.cs
- EncoderReplacementFallback.cs
- ServiceThrottle.cs
- EventMetadata.cs
- serverconfig.cs
- MarkupCompiler.cs
- AssociationTypeEmitter.cs
- WindowsPrincipal.cs
- Pen.cs
- Int64Converter.cs
- DropShadowEffect.cs
- embossbitmapeffect.cs
- XamlRtfConverter.cs
- TabControlCancelEvent.cs
- MenuItem.cs
- FileNotFoundException.cs
- Viewport2DVisual3D.cs
- DbProviderFactory.cs
- ImageListImageEditor.cs
- validationstate.cs
- SafeSystemMetrics.cs
- Regex.cs
- SystemEvents.cs
- PageHandlerFactory.cs
- DataGridItem.cs
- sitestring.cs
- TcpClientSocketManager.cs
- SinglePageViewer.cs