Code:
/ FX-1434 / FX-1434 / 1.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
- WindowsSecurityToken.cs
- ConsoleKeyInfo.cs
- SamlAction.cs
- CommentEmitter.cs
- TypeForwardedToAttribute.cs
- AlphaSortedEnumConverter.cs
- PointConverter.cs
- SecurityProtocolCorrelationState.cs
- ScriptResourceHandler.cs
- WindowsListViewGroupSubsetLink.cs
- Html32TextWriter.cs
- DataBindEngine.cs
- APCustomTypeDescriptor.cs
- OletxCommittableTransaction.cs
- BindingNavigator.cs
- RestrictedTransactionalPackage.cs
- X509RecipientCertificateClientElement.cs
- CaseStatementSlot.cs
- BaseAsyncResult.cs
- AddDataControlFieldDialog.cs
- ParameterToken.cs
- OutputScope.cs
- CompoundFileDeflateTransform.cs
- SqlFacetAttribute.cs
- DataServiceHost.cs
- DateTimeOffsetStorage.cs
- CheckBoxField.cs
- Point4D.cs
- HttpCookieCollection.cs
- DrawingAttributeSerializer.cs
- HttpCacheParams.cs
- HtmlEmptyTagControlBuilder.cs
- GeometryModel3D.cs
- DocumentViewerAutomationPeer.cs
- Context.cs
- TextTreeTextBlock.cs
- ListViewUpdateEventArgs.cs
- SmuggledIUnknown.cs
- OutputCacheSettings.cs
- OleDbCommand.cs
- DataGridViewCheckBoxCell.cs
- Internal.cs
- OfTypeExpression.cs
- WebPartConnectionsCloseVerb.cs
- TreeNodeMouseHoverEvent.cs
- WebPartEventArgs.cs
- SiteMapDataSource.cs
- ClassHandlersStore.cs
- InputQueue.cs
- EntityCollection.cs
- TextEndOfLine.cs
- ServiceNameCollection.cs
- WindowsTokenRoleProvider.cs
- HtmlContainerControl.cs
- TemplateNodeContextMenu.cs
- UnrecognizedPolicyAssertionElement.cs
- SmtpLoginAuthenticationModule.cs
- SymbolTable.cs
- WindowsGraphics.cs
- Effect.cs
- DispatcherProcessingDisabled.cs
- AttributeSetAction.cs
- RequestNavigateEventArgs.cs
- TouchDevice.cs
- WindowsFormsSectionHandler.cs
- OdbcEnvironment.cs
- XamlTemplateSerializer.cs
- ColumnResizeAdorner.cs
- AdapterUtil.cs
- EnumBuilder.cs
- PointHitTestResult.cs
- XmlSchemaException.cs
- ContractUtils.cs
- PeerCustomResolverBindingElement.cs
- BuildManagerHost.cs
- ResourceManagerWrapper.cs
- Permission.cs
- StorageInfo.cs
- HttpDictionary.cs
- HashAlgorithm.cs
- FormView.cs
- RequestUriProcessor.cs
- UshortList2.cs
- WhitespaceRule.cs
- Input.cs
- BrowserDefinition.cs
- Atom10ItemFormatter.cs
- NavigationFailedEventArgs.cs
- LockRecursionException.cs
- MetabaseServerConfig.cs
- SafeHandles.cs
- SignatureGenerator.cs
- TargetConverter.cs
- DataTableNewRowEvent.cs
- AnchoredBlock.cs
- NativeMethods.cs
- EdmItemCollection.cs
- LinkArea.cs
- DecoderBestFitFallback.cs
- Timer.cs