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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FilterEventArgs.cs
- SendMessageContent.cs
- MouseCaptureWithinProperty.cs
- MailWebEventProvider.cs
- StrokeCollectionConverter.cs
- ClientSettings.cs
- VideoDrawing.cs
- ParseHttpDate.cs
- InfoCardXmlSerializer.cs
- XPathAncestorIterator.cs
- QueryStringParameter.cs
- RequestCacheManager.cs
- SafeLibraryHandle.cs
- TransformPatternIdentifiers.cs
- VisualTreeHelper.cs
- BitmapData.cs
- ScrollProviderWrapper.cs
- XmlDataCollection.cs
- ComplexType.cs
- KeyTimeConverter.cs
- BitVector32.cs
- GetIndexBinder.cs
- Viewport2DVisual3D.cs
- DateTimeOffset.cs
- FloatMinMaxAggregationOperator.cs
- SystemIPInterfaceStatistics.cs
- dataobject.cs
- ClosureBinding.cs
- DurationConverter.cs
- ConfigurationValue.cs
- ColumnMapCopier.cs
- UserControlBuildProvider.cs
- StrongName.cs
- sqlstateclientmanager.cs
- DbResourceAllocator.cs
- _NtlmClient.cs
- LayoutEditorPart.cs
- PropertySegmentSerializer.cs
- WCFBuildProvider.cs
- TextStore.cs
- ParseHttpDate.cs
- IPCCacheManager.cs
- BindingMemberInfo.cs
- ReferencedType.cs
- XmlNamedNodeMap.cs
- Quad.cs
- BindUriHelper.cs
- HandledMouseEvent.cs
- CompilationRelaxations.cs
- SiteMapHierarchicalDataSourceView.cs
- TextFindEngine.cs
- XPathQilFactory.cs
- PathNode.cs
- SignedInfo.cs
- Pen.cs
- CursorEditor.cs
- Decorator.cs
- UInt64.cs
- GraphicsContainer.cs
- DataControlFieldTypeEditor.cs
- DBCommandBuilder.cs
- MessageBox.cs
- XmlSchemaAttributeGroupRef.cs
- TreeNodeBinding.cs
- ProtocolsConfiguration.cs
- BridgeDataReader.cs
- FillErrorEventArgs.cs
- DataTrigger.cs
- BoolLiteral.cs
- HelloOperationCD1AsyncResult.cs
- Size3D.cs
- filewebrequest.cs
- NativeCompoundFileAPIs.cs
- SRGSCompiler.cs
- LateBoundChannelParameterCollection.cs
- WebPartManager.cs
- BamlTreeUpdater.cs
- PerformanceCountersBase.cs
- odbcmetadatafactory.cs
- ConfigurationManagerInternalFactory.cs
- CacheMemory.cs
- xamlnodes.cs
- CodeExpressionCollection.cs
- DataGridColumnHeader.cs
- MLangCodePageEncoding.cs
- RoleService.cs
- ToolStripPanelCell.cs
- SrgsElement.cs
- FixedSOMPageConstructor.cs
- EntityDataSourceViewSchema.cs
- ContentType.cs
- DataGridViewDataErrorEventArgs.cs
- Size.cs
- ListControlConvertEventArgs.cs
- EntityDataSource.cs
- OutOfProcStateClientManager.cs
- HyperLinkColumn.cs
- NonSerializedAttribute.cs
- ItemContainerGenerator.cs
- WebPartVerb.cs