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
- BlockUIContainer.cs
- StringReader.cs
- DriveNotFoundException.cs
- Int32RectValueSerializer.cs
- Dispatcher.cs
- WinCategoryAttribute.cs
- WSFederationHttpBinding.cs
- ErrorTableItemStyle.cs
- HTTPNotFoundHandler.cs
- UIElement3D.cs
- ProvidersHelper.cs
- HostingEnvironmentException.cs
- EntityContainerEmitter.cs
- ConfigurationConverterBase.cs
- SettingsPropertyIsReadOnlyException.cs
- EmptyEnumerator.cs
- SupportsEventValidationAttribute.cs
- XamlLoadErrorInfo.cs
- ProfilePropertyNameValidator.cs
- xsdvalidator.cs
- LineBreakRecord.cs
- AuthenticatedStream.cs
- QilValidationVisitor.cs
- SudsCommon.cs
- HealthMonitoringSectionHelper.cs
- MetadataItemEmitter.cs
- ErasingStroke.cs
- ListViewItem.cs
- Collection.cs
- Win32Native.cs
- KnownBoxes.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- StringAnimationBase.cs
- EditorAttribute.cs
- Attributes.cs
- GridViewRowCollection.cs
- FactoryGenerator.cs
- ImageUrlEditor.cs
- OdbcConnectionFactory.cs
- ExceptionUtil.cs
- GuidTagList.cs
- DependencyPropertyKind.cs
- SystemIPv6InterfaceProperties.cs
- PageClientProxyGenerator.cs
- SignalGate.cs
- StateManager.cs
- XmlObjectSerializerReadContext.cs
- VBCodeProvider.cs
- SecurityIdentifierElementCollection.cs
- CodeComment.cs
- RequestQueryProcessor.cs
- graph.cs
- DataPagerFieldCommandEventArgs.cs
- SafeSecurityHelper.cs
- UserMapPath.cs
- ProvideValueServiceProvider.cs
- WebRequestModuleElementCollection.cs
- BackStopAuthenticationModule.cs
- HostProtectionPermission.cs
- ApplicationTrust.cs
- ConnectionsZoneDesigner.cs
- ImageDrawing.cs
- CompilerLocalReference.cs
- AssemblyInfo.cs
- ConsumerConnectionPoint.cs
- FileChangeNotifier.cs
- LineBreak.cs
- MimeMapping.cs
- PointCollection.cs
- Win32Exception.cs
- RecognizeCompletedEventArgs.cs
- FormViewInsertEventArgs.cs
- ConfigurationManagerHelperFactory.cs
- ScaleTransform3D.cs
- ProfileEventArgs.cs
- DynamicQueryableWrapper.cs
- EntryIndex.cs
- DesignerMetadata.cs
- ObfuscationAttribute.cs
- SiteMapPath.cs
- Parameter.cs
- XmlWriterTraceListener.cs
- VisualBrush.cs
- RoleManagerEventArgs.cs
- AnimationTimeline.cs
- NetTcpBinding.cs
- SoapElementAttribute.cs
- SafeHandles.cs
- PersonalizationStateInfo.cs
- RayHitTestParameters.cs
- DbParameterHelper.cs
- StylusCollection.cs
- ApplicationContext.cs
- ActionMessageFilterTable.cs
- EditorZone.cs
- DataBinding.cs
- JoinSymbol.cs
- SchemaNamespaceManager.cs
- ZoneIdentityPermission.cs
- TextPenaltyModule.cs