Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SimpleApplicationHost.cs
- Matrix3DValueSerializer.cs
- ExpressionPrefixAttribute.cs
- CharacterBufferReference.cs
- _IPv6Address.cs
- PaintValueEventArgs.cs
- MimeFormatter.cs
- GenericWebPart.cs
- ProfilePropertySettings.cs
- Parameter.cs
- HelpKeywordAttribute.cs
- Region.cs
- ConfigXmlAttribute.cs
- DbLambda.cs
- CodeObject.cs
- ValueExpressions.cs
- ComponentDispatcherThread.cs
- ObjectQueryExecutionPlan.cs
- GC.cs
- BindingValueChangedEventArgs.cs
- DataGridViewCheckBoxCell.cs
- OrthographicCamera.cs
- TreeNodeBinding.cs
- AlphaSortedEnumConverter.cs
- TextEditorTables.cs
- GradientSpreadMethodValidation.cs
- JournalNavigationScope.cs
- TreeNodeStyleCollection.cs
- XamlSerializer.cs
- UnsafeNativeMethods.cs
- EditorAttribute.cs
- StyleBamlTreeBuilder.cs
- UndoManager.cs
- SapiRecoContext.cs
- X509ChainElement.cs
- DupHandleConnectionReader.cs
- ProgressBar.cs
- MediaElementAutomationPeer.cs
- FastEncoder.cs
- XmlBufferReader.cs
- IPipelineRuntime.cs
- KeyBinding.cs
- ProgressBarAutomationPeer.cs
- QilFunction.cs
- EntityDescriptor.cs
- RewritingValidator.cs
- WebPartTransformerCollection.cs
- XmlSerializationWriter.cs
- PrintDialogDesigner.cs
- MemberInfoSerializationHolder.cs
- AnonymousIdentificationModule.cs
- IdleTimeoutMonitor.cs
- OrderToken.cs
- MailHeaderInfo.cs
- BinaryObjectWriter.cs
- ErasingStroke.cs
- PingReply.cs
- ListenerBinder.cs
- RequestBringIntoViewEventArgs.cs
- LinqDataSourceValidationException.cs
- ImplicitInputBrush.cs
- ResXResourceWriter.cs
- SmtpSection.cs
- PartialCachingAttribute.cs
- ThicknessAnimationBase.cs
- ImportDesigner.xaml.cs
- StringArrayConverter.cs
- ComponentCollection.cs
- StatusBarPanel.cs
- BrowserDefinitionCollection.cs
- DataError.cs
- StringPropertyBuilder.cs
- SqlExpressionNullability.cs
- Exceptions.cs
- HtmlElementErrorEventArgs.cs
- InfoCardTrace.cs
- util.cs
- XmlILCommand.cs
- DateTimeFormatInfo.cs
- UriSectionReader.cs
- OperandQuery.cs
- BooleanExpr.cs
- SerializationStore.cs
- ListInitExpression.cs
- TreeView.cs
- SqlNodeAnnotation.cs
- ImageMap.cs
- Font.cs
- DelayedRegex.cs
- MatrixConverter.cs
- AssemblyBuilder.cs
- RangeValueProviderWrapper.cs
- DataSourceView.cs
- ToolBarButton.cs
- DocumentScope.cs
- ColumnCollection.cs
- TrackingServices.cs
- ProxyAttribute.cs
- XmlSchemaSequence.cs
- returneventsaver.cs