Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeIterationStatement.cs / 1 / CodeIterationStatement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeIterationStatement : CodeStatement { private CodeStatement initStatement; private CodeExpression testExpression; private CodeStatement incrementStatement; private CodeStatementCollection statements = new CodeStatementCollection(); ////// Represents a simple for loop. /// ////// public CodeIterationStatement() { } ////// Initializes a new instance of ///. /// /// public CodeIterationStatement(CodeStatement initStatement, CodeExpression testExpression, CodeStatement incrementStatement, params CodeStatement[] statements) { InitStatement = initStatement; TestExpression = testExpression; IncrementStatement = incrementStatement; Statements.AddRange(statements); } ////// Initializes a new instance of ///. /// /// public CodeStatement InitStatement { get { return initStatement; } set { initStatement = value; } } ////// Gets or sets /// the loop initialization statement. /// ////// public CodeExpression TestExpression { get { return testExpression; } set { testExpression = value; } } ////// Gets or sets /// the expression to test for. /// ////// public CodeStatement IncrementStatement { get { return incrementStatement; } set { incrementStatement = value; } } ////// Gets or sets /// the per loop cycle increment statement. /// ////// public CodeStatementCollection Statements { get { return statements; } } } }/// Gets or sets /// the statements to be executed within the loop. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VisualBrush.cs
- MaterialCollection.cs
- QilLiteral.cs
- ItemAutomationPeer.cs
- ContextMenu.cs
- NodeLabelEditEvent.cs
- Document.cs
- GridViewSelectEventArgs.cs
- DataGridViewLayoutData.cs
- StrongNamePublicKeyBlob.cs
- AttributeCollection.cs
- SecureStringHasher.cs
- IPipelineRuntime.cs
- RawStylusInputCustomDataList.cs
- OutOfMemoryException.cs
- ReaderWriterLock.cs
- SoapExtensionTypeElementCollection.cs
- Base64Stream.cs
- PathSegment.cs
- DataListItemEventArgs.cs
- LinkClickEvent.cs
- XmlHelper.cs
- SubtreeProcessor.cs
- HttpMethodAttribute.cs
- PenCursorManager.cs
- FormViewModeEventArgs.cs
- System.Data.OracleClient_BID.cs
- ToolStripButton.cs
- StructuredTypeInfo.cs
- ParallelDesigner.cs
- EasingKeyFrames.cs
- ProxyManager.cs
- UserValidatedEventArgs.cs
- SplineKeyFrames.cs
- XmlQueryOutput.cs
- ListViewItem.cs
- ScalarConstant.cs
- FormattedText.cs
- HttpApplication.cs
- CookielessHelper.cs
- SqlMethodAttribute.cs
- Send.cs
- DefaultPropertiesToSend.cs
- Switch.cs
- SuppressMessageAttribute.cs
- XamlSerializerUtil.cs
- CompilationLock.cs
- PathGeometry.cs
- SizeAnimationBase.cs
- _OSSOCK.cs
- IndicShape.cs
- PreApplicationStartMethodAttribute.cs
- TextUtf8RawTextWriter.cs
- XmlResolver.cs
- CodeDirectiveCollection.cs
- MimeMapping.cs
- DelegateBodyWriter.cs
- IdentityElement.cs
- ManagedFilter.cs
- CustomAttributeBuilder.cs
- LambdaCompiler.Generated.cs
- MouseButton.cs
- Color.cs
- Section.cs
- DataPagerField.cs
- Application.cs
- AttributeQuery.cs
- AvTraceDetails.cs
- GridView.cs
- TypeUnloadedException.cs
- StrongName.cs
- NameNode.cs
- TableLayoutPanel.cs
- HttpException.cs
- CatalogZone.cs
- SmtpLoginAuthenticationModule.cs
- ObjectRef.cs
- EmptyEnumerable.cs
- HttpModulesSection.cs
- XmlName.cs
- AsymmetricKeyExchangeDeformatter.cs
- ToolStripComboBox.cs
- TextBox.cs
- UseAttributeSetsAction.cs
- GenericEnumConverter.cs
- Policy.cs
- MemoryRecordBuffer.cs
- QuotedPrintableStream.cs
- BounceEase.cs
- HtmlControl.cs
- DataViewManagerListItemTypeDescriptor.cs
- TextAdaptor.cs
- StrokeCollectionConverter.cs
- ExceptionHandler.cs
- DropShadowBitmapEffect.cs
- Filter.cs
- EventLogger.cs
- XmlSchemaFacet.cs
- NetNamedPipeSecurityElement.cs
- EmulateRecognizeCompletedEventArgs.cs