Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AlphabeticalEnumConverter.cs
- PageContent.cs
- DictionarySectionHandler.cs
- WebPartConnectVerb.cs
- DrawingGroupDrawingContext.cs
- ListBoxItem.cs
- CodeDOMUtility.cs
- DesignerSerializationOptionsAttribute.cs
- SamlAudienceRestrictionCondition.cs
- Dump.cs
- Track.cs
- ToolboxCategoryItems.cs
- FileRecordSequenceHelper.cs
- dtdvalidator.cs
- DataSourceSelectArguments.cs
- DrawingGroup.cs
- BackgroundWorker.cs
- sqlinternaltransaction.cs
- PropertyItemInternal.cs
- RegexCaptureCollection.cs
- VisualProxy.cs
- UserNameSecurityToken.cs
- Exceptions.cs
- PointUtil.cs
- OdbcTransaction.cs
- FileRecordSequenceHelper.cs
- Label.cs
- CodeDirectiveCollection.cs
- ThousandthOfEmRealPoints.cs
- ClientTarget.cs
- NotConverter.cs
- DesigntimeLicenseContext.cs
- ModelFactory.cs
- PerfCounters.cs
- TypeForwardedToAttribute.cs
- SqlCacheDependencyDatabase.cs
- CircleHotSpot.cs
- RecognizedAudio.cs
- SHA384Cng.cs
- MessageSmuggler.cs
- ImportOptions.cs
- GuidelineSet.cs
- NamedPipeTransportSecurityElement.cs
- DatePickerTextBox.cs
- ExtractedStateEntry.cs
- WebRequest.cs
- PersonalizationEntry.cs
- unsafenativemethodstextservices.cs
- SqlBooleanMismatchVisitor.cs
- RawMouseInputReport.cs
- InheritablePropertyChangeInfo.cs
- Matrix.cs
- SqlTypesSchemaImporter.cs
- WeakReferenceEnumerator.cs
- CompilerInfo.cs
- ResourcePermissionBaseEntry.cs
- NavigationExpr.cs
- BasicBrowserDialog.cs
- SiteMapDataSourceDesigner.cs
- NamespaceList.cs
- PropertyGrid.cs
- CodeTypeDelegate.cs
- MediaTimeline.cs
- UnsafeNativeMethods.cs
- QEncodedStream.cs
- NetWebProxyFinder.cs
- Atom10ItemFormatter.cs
- ValidationHelper.cs
- LayoutTableCell.cs
- TreeViewTemplateSelector.cs
- WindowsEditBox.cs
- MimeMapping.cs
- AnonymousIdentificationModule.cs
- IApplicationTrustManager.cs
- CompModSwitches.cs
- SamlConditions.cs
- WebChannelFactory.cs
- TextElementEnumerator.cs
- rsa.cs
- CompilationSection.cs
- PropertyStore.cs
- XmlCharCheckingWriter.cs
- XDeferredAxisSource.cs
- BaseAsyncResult.cs
- NonVisualControlAttribute.cs
- PersonalizablePropertyEntry.cs
- UndoManager.cs
- HtmlCommandAdapter.cs
- Token.cs
- OutputScopeManager.cs
- SqlDataRecord.cs
- lengthconverter.cs
- DataError.cs
- LineInfo.cs
- DesignerRegion.cs
- ScrollBarRenderer.cs
- Vector3DValueSerializer.cs
- DataGridViewLinkColumn.cs
- ExpressionStringBuilder.cs
- XmlStreamedByteStreamReader.cs