Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the statements to be executed within the loop. /// ///// 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; } } } } // 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
- TypefaceCollection.cs
- IPEndPoint.cs
- ResourceAssociationType.cs
- HexParser.cs
- SoapCommonClasses.cs
- StringFunctions.cs
- AutoGeneratedFieldProperties.cs
- Metadata.cs
- XPathDocumentBuilder.cs
- ProxyWebPart.cs
- LineSegment.cs
- LedgerEntry.cs
- DependencyPropertyValueSerializer.cs
- Queue.cs
- CompositeActivityTypeDescriptor.cs
- Journaling.cs
- BamlBinaryReader.cs
- SerializationSectionGroup.cs
- CroppedBitmap.cs
- XhtmlBasicImageAdapter.cs
- CombinedGeometry.cs
- BufferedGraphicsManager.cs
- Buffer.cs
- TemplateEditingVerb.cs
- ApplicationContext.cs
- PublisherMembershipCondition.cs
- AssemblyInfo.cs
- ExpressionList.cs
- Point.cs
- XmlSchemaObjectCollection.cs
- SystemIPAddressInformation.cs
- UserControlAutomationPeer.cs
- HybridWebProxyFinder.cs
- KeyValuePair.cs
- LineVisual.cs
- XsltQilFactory.cs
- CustomAttribute.cs
- LinkDescriptor.cs
- ExpressionDumper.cs
- FactorySettingsElement.cs
- UIElement3DAutomationPeer.cs
- SchemaImporterExtensionElementCollection.cs
- GetPageNumberCompletedEventArgs.cs
- SystemUdpStatistics.cs
- ControlBuilderAttribute.cs
- RequestResizeEvent.cs
- AccessedThroughPropertyAttribute.cs
- ColorAnimationBase.cs
- OpCodes.cs
- Propagator.cs
- DateTimeFormatInfo.cs
- D3DImage.cs
- TypeNameConverter.cs
- BitmapCodecInfo.cs
- SymmetricSecurityBindingElement.cs
- ResourceIDHelper.cs
- NavigationProperty.cs
- InputScopeManager.cs
- DispatcherHookEventArgs.cs
- ProjectionCamera.cs
- LoginView.cs
- ForwardPositionQuery.cs
- InternalEnumValidatorAttribute.cs
- RegexReplacement.cs
- CodeAttributeArgumentCollection.cs
- ManipulationCompletedEventArgs.cs
- AuthenticationModuleElementCollection.cs
- DbConnectionPoolGroup.cs
- HiddenFieldPageStatePersister.cs
- XmlDataSourceNodeDescriptor.cs
- DataGridViewUtilities.cs
- DelayedRegex.cs
- SqlServer2KCompatibilityAnnotation.cs
- EventLogEntry.cs
- FileVersion.cs
- TableLayoutSettingsTypeConverter.cs
- ColorAnimationUsingKeyFrames.cs
- SafeEventHandle.cs
- ipaddressinformationcollection.cs
- ProfileSettings.cs
- CookieHandler.cs
- AccessDataSourceView.cs
- RuleSettings.cs
- MenuEventArgs.cs
- SocketAddress.cs
- basenumberconverter.cs
- CommonDialog.cs
- RoleManagerEventArgs.cs
- GridViewItemAutomationPeer.cs
- Accessors.cs
- HtmlContainerControl.cs
- GridView.cs
- MembershipValidatePasswordEventArgs.cs
- PermissionSetTriple.cs
- IfElseDesigner.xaml.cs
- FactorySettingsElement.cs
- CommandBinding.cs
- SemanticBasicElement.cs
- Scene3D.cs
- Label.cs