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
- ContentOperations.cs
- GacUtil.cs
- MissingMethodException.cs
- KeyValueConfigurationElement.cs
- TCPClient.cs
- NullableFloatSumAggregationOperator.cs
- Calendar.cs
- DesignerTransaction.cs
- CancellationTokenRegistration.cs
- StrokeDescriptor.cs
- TdsRecordBufferSetter.cs
- FixedSOMTable.cs
- TableRow.cs
- UInt32.cs
- TabPageDesigner.cs
- RootBrowserWindowAutomationPeer.cs
- ObjectCloneHelper.cs
- DrawingVisualDrawingContext.cs
- WebPartTransformerAttribute.cs
- XmlWrappingReader.cs
- SynchronizedInputProviderWrapper.cs
- DisplayInformation.cs
- XmlCompatibilityReader.cs
- ExpandoClass.cs
- FontNamesConverter.cs
- UseManagedPresentationBindingElementImporter.cs
- PartManifestEntry.cs
- AspNetHostingPermission.cs
- SurrogateSelector.cs
- LicFileLicenseProvider.cs
- XXXInfos.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- InvokeHandlers.cs
- ScalarConstant.cs
- Trigger.cs
- XmlSchemaObjectCollection.cs
- mil_sdk_version.cs
- TextSpanModifier.cs
- ClientTargetSection.cs
- WebPartsPersonalizationAuthorization.cs
- GeneralTransformGroup.cs
- Adorner.cs
- Regex.cs
- HierarchicalDataSourceIDConverter.cs
- ConnectionProviderAttribute.cs
- OleDbRowUpdatingEvent.cs
- TransactionTable.cs
- ExpandCollapseProviderWrapper.cs
- FormsAuthenticationCredentials.cs
- TextServicesManager.cs
- WebPartConnectionsEventArgs.cs
- Control.cs
- DecoderFallback.cs
- ConsumerConnectionPoint.cs
- StylusCollection.cs
- Profiler.cs
- HttpRawResponse.cs
- UnsafeNativeMethods.cs
- UserControlDocumentDesigner.cs
- OperationAbortedException.cs
- HttpProfileBase.cs
- FontSourceCollection.cs
- DataServiceRequestOfT.cs
- RegexCompilationInfo.cs
- RuleConditionDialog.Designer.cs
- ModuleConfigurationInfo.cs
- NeutralResourcesLanguageAttribute.cs
- DocumentApplicationJournalEntry.cs
- BaseValidator.cs
- KeyNotFoundException.cs
- XmlPropertyBag.cs
- SqlUdtInfo.cs
- UnsafeNativeMethodsPenimc.cs
- LineVisual.cs
- RolePrincipal.cs
- UDPClient.cs
- RadioButton.cs
- State.cs
- ParallelQuery.cs
- CodePrimitiveExpression.cs
- ImageListUtils.cs
- RegularExpressionValidator.cs
- SnapLine.cs
- BamlLocalizabilityResolver.cs
- Logging.cs
- TreeNodeStyle.cs
- ListViewGroup.cs
- CollectionChangedEventManager.cs
- XmlSchemaGroupRef.cs
- HostingEnvironmentException.cs
- SimpleWebHandlerParser.cs
- WebSysDescriptionAttribute.cs
- AddInServer.cs
- Ipv6Element.cs
- CategoryAttribute.cs
- Switch.cs
- HorizontalAlignConverter.cs
- TileModeValidation.cs
- TableAutomationPeer.cs
- TypeDescriptor.cs