Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeIterationStatement.cs / 1305376 / CodeIterationStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- HyperLink.cs
- DependencyPropertyHelper.cs
- TextAdaptor.cs
- ExceptionAggregator.cs
- PermissionRequestEvidence.cs
- FontFaceLayoutInfo.cs
- ErrorWebPart.cs
- querybuilder.cs
- GridViewDesigner.cs
- DateTimeAutomationPeer.cs
- HashHelper.cs
- FileFormatException.cs
- IsolatedStorageFilePermission.cs
- httpapplicationstate.cs
- milrender.cs
- XmlSerializerSection.cs
- DefaultParameterValueAttribute.cs
- DoubleKeyFrameCollection.cs
- TreePrinter.cs
- WebServiceBindingAttribute.cs
- BrowserTree.cs
- Renderer.cs
- LOSFormatter.cs
- DesignerView.Commands.cs
- HybridDictionary.cs
- EditorAttribute.cs
- PrintControllerWithStatusDialog.cs
- SamlAuthenticationClaimResource.cs
- ByteStream.cs
- CachedPathData.cs
- SetterBase.cs
- PersonalizablePropertyEntry.cs
- HuffCodec.cs
- OdbcConnection.cs
- ADConnectionHelper.cs
- TemplateXamlTreeBuilder.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ResolveDuplexCD1AsyncResult.cs
- COM2FontConverter.cs
- ManagementOperationWatcher.cs
- CompositeTypefaceMetrics.cs
- DataMemberConverter.cs
- XPathEmptyIterator.cs
- SpeakInfo.cs
- TabControl.cs
- XPathEmptyIterator.cs
- FormViewInsertedEventArgs.cs
- SqlFormatter.cs
- XmlTypeMapping.cs
- CodeGenerator.cs
- AccessText.cs
- HttpResponseWrapper.cs
- IsolatedStorageFileStream.cs
- AnonymousIdentificationModule.cs
- WebPartsSection.cs
- InfiniteIntConverter.cs
- ConnectionProviderAttribute.cs
- EntityStoreSchemaGenerator.cs
- HtmlTernaryTree.cs
- ellipse.cs
- LocatorPartList.cs
- FormsAuthentication.cs
- ChannelSinkStacks.cs
- ByValueEqualityComparer.cs
- XmlSchemaSimpleContentRestriction.cs
- RepeaterCommandEventArgs.cs
- DBDataPermissionAttribute.cs
- filewebrequest.cs
- DataBindingExpressionBuilder.cs
- VectorCollection.cs
- ThrowHelper.cs
- AlignmentXValidation.cs
- DrawingGroup.cs
- ErrorWrapper.cs
- DefaultSection.cs
- LinqDataSourceStatusEventArgs.cs
- UserPersonalizationStateInfo.cs
- StringToken.cs
- AnnotationAdorner.cs
- ImageField.cs
- GridViewRowCollection.cs
- PropertyChangeTracker.cs
- __TransparentProxy.cs
- SafeNativeMethodsMilCoreApi.cs
- DataTableReaderListener.cs
- ArrayList.cs
- ProcessHost.cs
- QueryOperationResponseOfT.cs
- Control.cs
- Brushes.cs
- ProxyManager.cs
- GenerateTemporaryTargetAssembly.cs
- HwndStylusInputProvider.cs
- ExecutionEngineException.cs
- PrivateFontCollection.cs
- Types.cs
- DataGridViewLinkCell.cs
- RawStylusInputCustomDataList.cs
- ButtonField.cs
- BamlBinaryWriter.cs