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
- CrossAppDomainChannel.cs
- VariantWrapper.cs
- URIFormatException.cs
- GridViewSortEventArgs.cs
- DataSourceControl.cs
- ConstructorBuilder.cs
- QuotaThrottle.cs
- RegionInfo.cs
- CodeSubDirectory.cs
- BuildDependencySet.cs
- HasRunnableWorkflowEvent.cs
- LineServices.cs
- ThreadInterruptedException.cs
- SerializationEventsCache.cs
- SafeBitVector32.cs
- InvalidComObjectException.cs
- ExpandCollapsePattern.cs
- AttributeCollection.cs
- PassportAuthentication.cs
- InputScope.cs
- CreateUserErrorEventArgs.cs
- ClientCultureInfo.cs
- Thumb.cs
- TransactedBatchContext.cs
- SimpleBitVector32.cs
- XamlBrushSerializer.cs
- SchemaHelper.cs
- TextTreeUndo.cs
- SafeNativeMethods.cs
- GenericTextProperties.cs
- ShapeTypeface.cs
- PriorityBindingExpression.cs
- PropertyTabChangedEvent.cs
- MessageSecurityOverMsmq.cs
- RadioButtonDesigner.cs
- IDictionary.cs
- TransportReplyChannelAcceptor.cs
- CodeExporter.cs
- OptimizerPatterns.cs
- GeneralTransformCollection.cs
- SqlGatherProducedAliases.cs
- Assembly.cs
- PassportAuthenticationEventArgs.cs
- BatchServiceHost.cs
- TypeCollectionDesigner.xaml.cs
- RegexReplacement.cs
- NativeMethods.cs
- AspNetSynchronizationContext.cs
- TCEAdapterGenerator.cs
- TextSelection.cs
- EntityCollection.cs
- RotateTransform.cs
- StylusPlugInCollection.cs
- ScrollPattern.cs
- TextSerializer.cs
- FormClosingEvent.cs
- BmpBitmapEncoder.cs
- columnmapkeybuilder.cs
- MemberMemberBinding.cs
- QilScopedVisitor.cs
- unitconverter.cs
- UrlAuthFailedErrorFormatter.cs
- SystemPens.cs
- TogglePatternIdentifiers.cs
- OrElse.cs
- KeySplineConverter.cs
- TypeKeyValue.cs
- AppDomainProtocolHandler.cs
- Literal.cs
- PersistenceException.cs
- DocumentReference.cs
- XmlParserContext.cs
- HostingPreferredMapPath.cs
- SafeViewOfFileHandle.cs
- Color.cs
- StringValidatorAttribute.cs
- ArgumentException.cs
- XmlCharType.cs
- XmlAnyAttributeAttribute.cs
- iisPickupDirectory.cs
- SystemMulticastIPAddressInformation.cs
- NullableFloatAverageAggregationOperator.cs
- SimpleBitVector32.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- BindingsSection.cs
- BitmapMetadataEnumerator.cs
- StringValueSerializer.cs
- WebPartManager.cs
- XsltOutput.cs
- DataProtection.cs
- ToolboxItemFilterAttribute.cs
- ParsedAttributeCollection.cs
- CultureMapper.cs
- Profiler.cs
- QilFunction.cs
- ResourceFallbackManager.cs
- MemberAccessException.cs
- PropertyGroupDescription.cs
- Form.cs
- CommonGetThemePartSize.cs