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
- HtmlContainerControl.cs
- PersonalizationStateQuery.cs
- RadioButton.cs
- GeneralTransform2DTo3D.cs
- CellPartitioner.cs
- SessionParameter.cs
- SoapSchemaImporter.cs
- StyleSheetDesigner.cs
- WindowsUpDown.cs
- IMembershipProvider.cs
- ThousandthOfEmRealPoints.cs
- EncryptedPackage.cs
- FullTextBreakpoint.cs
- LoginName.cs
- Matrix.cs
- MaskedTextBox.cs
- sqlser.cs
- DependencyPropertyChangedEventArgs.cs
- SvcMapFile.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ActivityBuilderHelper.cs
- TimeStampChecker.cs
- DefaultEvaluationContext.cs
- PropVariant.cs
- MimeReflector.cs
- DataGridToolTip.cs
- Funcletizer.cs
- MemoryStream.cs
- DrawingContextDrawingContextWalker.cs
- MasterPage.cs
- ExpressionBuilderContext.cs
- ParameterCollection.cs
- RawUIStateInputReport.cs
- ControlParameter.cs
- PrimaryKeyTypeConverter.cs
- ProfileModule.cs
- WebPartPersonalization.cs
- DataMemberFieldEditor.cs
- ApplicationFileParser.cs
- AndCondition.cs
- BoundField.cs
- BitmapEffectGeneralTransform.cs
- PenLineCapValidation.cs
- FixedSOMImage.cs
- CheckBoxList.cs
- Line.cs
- WebScriptEnablingElement.cs
- XmlParserContext.cs
- MenuItemAutomationPeer.cs
- BufferAllocator.cs
- CatalogZoneBase.cs
- FormViewModeEventArgs.cs
- GeometryModel3D.cs
- FormsAuthenticationModule.cs
- NameValueSectionHandler.cs
- InfocardExtendedInformationCollection.cs
- DataBoundLiteralControl.cs
- HandlerFactoryWrapper.cs
- __Filters.cs
- Util.cs
- KeyGestureConverter.cs
- XsdDataContractImporter.cs
- FileAuthorizationModule.cs
- WorkerRequest.cs
- ColumnReorderedEventArgs.cs
- SapiGrammar.cs
- LayoutEvent.cs
- Compress.cs
- MeshGeometry3D.cs
- InspectionWorker.cs
- BadImageFormatException.cs
- EllipticalNodeOperations.cs
- MenuScrollingVisibilityConverter.cs
- CompatibleIComparer.cs
- TextUtf8RawTextWriter.cs
- ApplicationActivator.cs
- GrabHandleGlyph.cs
- CompositionAdorner.cs
- DependsOnAttribute.cs
- _ListenerRequestStream.cs
- __TransparentProxy.cs
- QuaternionRotation3D.cs
- ServerValidateEventArgs.cs
- WorkerProcess.cs
- AdapterSwitches.cs
- Attributes.cs
- TrackBarRenderer.cs
- SiteMapPath.cs
- GCHandleCookieTable.cs
- TraceListeners.cs
- XPathAncestorQuery.cs
- CheckBoxPopupAdapter.cs
- Point3DConverter.cs
- ThemeableAttribute.cs
- BinaryFormatterWriter.cs
- BaseWebProxyFinder.cs
- _AutoWebProxyScriptWrapper.cs
- SimpleApplicationHost.cs
- TableAutomationPeer.cs
- DataControlLinkButton.cs