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
- AccessedThroughPropertyAttribute.cs
- MultiByteCodec.cs
- TrackingLocationCollection.cs
- AlphabetConverter.cs
- CredentialCache.cs
- ElapsedEventArgs.cs
- NominalTypeEliminator.cs
- RectConverter.cs
- XmlSchemaElement.cs
- HttpCookieCollection.cs
- TemplateBamlRecordReader.cs
- TextParaLineResult.cs
- PackageRelationship.cs
- StopStoryboard.cs
- BinaryFormatterWriter.cs
- ScanQueryOperator.cs
- ReaderOutput.cs
- RestHandlerFactory.cs
- DataObject.cs
- FormatException.cs
- DataGridComboBoxColumn.cs
- VoiceInfo.cs
- ConfigPathUtility.cs
- TextMarkerSource.cs
- objectquery_tresulttype.cs
- WinFormsUtils.cs
- TextServicesContext.cs
- EncodingStreamWrapper.cs
- MissingFieldException.cs
- HtmlInputCheckBox.cs
- TextWriterEngine.cs
- RegexMatchCollection.cs
- Path.cs
- SecureStringHasher.cs
- CompiledQueryCacheKey.cs
- SortedDictionary.cs
- Deserializer.cs
- FontSizeConverter.cs
- XmlSortKey.cs
- NamedPipeAppDomainProtocolHandler.cs
- HttpSessionStateWrapper.cs
- DiscoveryClientRequestChannel.cs
- ToolStripOverflow.cs
- DtdParser.cs
- ReflectPropertyDescriptor.cs
- FileRecordSequenceCompletedAsyncResult.cs
- basenumberconverter.cs
- Span.cs
- WebBaseEventKeyComparer.cs
- HMACMD5.cs
- RefreshPropertiesAttribute.cs
- adornercollection.cs
- MouseDevice.cs
- StyleXamlParser.cs
- ActiveXContainer.cs
- DatePickerDateValidationErrorEventArgs.cs
- SystemTcpConnection.cs
- TraceSource.cs
- EventLog.cs
- Point3D.cs
- AdornerHitTestResult.cs
- DebugView.cs
- ToolStripItemClickedEventArgs.cs
- KeyboardDevice.cs
- Model3D.cs
- ThemeInfoAttribute.cs
- ImageFormat.cs
- ApplicationDirectory.cs
- OleDbDataReader.cs
- TextTabProperties.cs
- TypeConverterMarkupExtension.cs
- UdpReplyToBehavior.cs
- HttpServerChannel.cs
- TargetControlTypeAttribute.cs
- UnionCodeGroup.cs
- ToolTip.cs
- DocumentReference.cs
- TextSelectionHighlightLayer.cs
- DesignerTransaction.cs
- DynamicDocumentPaginator.cs
- CopyOfAction.cs
- XamlParser.cs
- Int16.cs
- GiveFeedbackEvent.cs
- StateDesignerConnector.cs
- While.cs
- WindowsListViewItemCheckBox.cs
- MSAANativeProvider.cs
- ByteConverter.cs
- sqlcontext.cs
- Scripts.cs
- BamlStream.cs
- XmlElementAttributes.cs
- RectKeyFrameCollection.cs
- PrtCap_Builder.cs
- Literal.cs
- HandlerFactoryCache.cs
- DesignColumnCollection.cs
- TextBoxAutomationPeer.cs
- wgx_exports.cs