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
- ACE.cs
- KeyFrames.cs
- SafeNativeMethods.cs
- XslTransform.cs
- TrustManagerPromptUI.cs
- CompareValidator.cs
- StatusBarPanelClickEvent.cs
- BufferModeSettings.cs
- MessageDescription.cs
- SqlTypeSystemProvider.cs
- AsymmetricKeyExchangeFormatter.cs
- NativeCppClassAttribute.cs
- ColorMatrix.cs
- _ChunkParse.cs
- DialogWindow.cs
- InfoCardClaim.cs
- LocalValueEnumerator.cs
- ClaimTypeRequirement.cs
- OwnerDrawPropertyBag.cs
- DesignRelation.cs
- ItemsChangedEventArgs.cs
- ProjectedSlot.cs
- MaskDescriptor.cs
- TextBoxBase.cs
- SimpleType.cs
- VisualStyleInformation.cs
- File.cs
- Slider.cs
- NonSerializedAttribute.cs
- SrgsGrammarCompiler.cs
- XPathExpr.cs
- WindowsToolbarItemAsMenuItem.cs
- AssemblyHelper.cs
- OwnerDrawPropertyBag.cs
- Nodes.cs
- PrintDocument.cs
- InputProcessorProfiles.cs
- XmlWellformedWriter.cs
- ISO2022Encoding.cs
- UrlMappingCollection.cs
- XmlBindingWorker.cs
- MdiWindowListItemConverter.cs
- XmlSchemaInclude.cs
- PropertyFilterAttribute.cs
- HeaderedContentControl.cs
- MatrixCamera.cs
- CryptoApi.cs
- TextParagraph.cs
- XmlSerializationGeneratedCode.cs
- EdmSchemaAttribute.cs
- WebBrowserUriTypeConverter.cs
- BooleanConverter.cs
- RecommendedAsConfigurableAttribute.cs
- DataGridViewCellLinkedList.cs
- versioninfo.cs
- webbrowsersite.cs
- SuppressMergeCheckAttribute.cs
- CngProperty.cs
- ConnectionPoint.cs
- TraceContextRecord.cs
- Automation.cs
- RSAProtectedConfigurationProvider.cs
- WorkflowInstanceRecord.cs
- AttachInfo.cs
- RequestQueue.cs
- BulletChrome.cs
- ConsoleCancelEventArgs.cs
- ProfileManager.cs
- TextBoxDesigner.cs
- OleDbStruct.cs
- SqlRemoveConstantOrderBy.cs
- DBConcurrencyException.cs
- UpdateExpressionVisitor.cs
- DynamicControl.cs
- SqlDataSourceWizardForm.cs
- URLMembershipCondition.cs
- Column.cs
- GenerateScriptTypeAttribute.cs
- CommandLibraryHelper.cs
- VideoDrawing.cs
- IsolatedStorageException.cs
- SHA256Managed.cs
- FrameSecurityDescriptor.cs
- GZipUtils.cs
- ContentElementAutomationPeer.cs
- RegexWorker.cs
- TabControl.cs
- SchemaDeclBase.cs
- ProgressBarRenderer.cs
- EntityConnection.cs
- CompositeDispatchFormatter.cs
- TypeReference.cs
- PropertyDescriptorGridEntry.cs
- Directory.cs
- XmlConvert.cs
- DataListAutoFormat.cs
- DynamicPropertyReader.cs
- ProfilePropertySettings.cs
- ADMembershipProvider.cs
- SecurityContext.cs