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
- PatternMatchRules.cs
- ProcessHostFactoryHelper.cs
- NetworkAddressChange.cs
- WindowsScrollBar.cs
- IncrementalReadDecoders.cs
- DownloadProgressEventArgs.cs
- CodeAssignStatement.cs
- DeploymentSection.cs
- Span.cs
- DesignerAttribute.cs
- DataGridViewButtonColumn.cs
- ContainerUIElement3D.cs
- CustomTypeDescriptor.cs
- ConfigurationSection.cs
- TableLayoutSettingsTypeConverter.cs
- MultiDataTrigger.cs
- FileClassifier.cs
- SqlDataReaderSmi.cs
- JsonReader.cs
- DoubleAnimationBase.cs
- MatchingStyle.cs
- JsonDataContract.cs
- TextDecoration.cs
- Single.cs
- HtmlWindowCollection.cs
- DispatchWrapper.cs
- xamlnodes.cs
- XmlAttributeProperties.cs
- XappLauncher.cs
- ToolStripSettings.cs
- HostingEnvironmentException.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- LayoutTableCell.cs
- EncodingDataItem.cs
- MdiWindowListStrip.cs
- XmlDataSourceNodeDescriptor.cs
- InputLanguageProfileNotifySink.cs
- TrackingRecord.cs
- RemoteCryptoSignHashRequest.cs
- IRCollection.cs
- versioninfo.cs
- NativeMethods.cs
- ConfigXmlWhitespace.cs
- RuleSet.cs
- Simplifier.cs
- SoapAttributeAttribute.cs
- DocumentCollection.cs
- CodeSubDirectory.cs
- NextPreviousPagerField.cs
- SeparatorAutomationPeer.cs
- CodeAccessPermission.cs
- FrameDimension.cs
- Wildcard.cs
- ArgumentException.cs
- TextInfo.cs
- StaticSiteMapProvider.cs
- WindowAutomationPeer.cs
- HtmlUtf8RawTextWriter.cs
- HostUtils.cs
- MsmqHostedTransportManager.cs
- ReachPageContentSerializer.cs
- WSHttpBindingElement.cs
- CollectionsUtil.cs
- ReaderWriterLock.cs
- WeakReference.cs
- SafeRegistryHandle.cs
- SpecularMaterial.cs
- XmlStringTable.cs
- Compiler.cs
- XmlDocumentType.cs
- Font.cs
- ContentDesigner.cs
- InlinedAggregationOperator.cs
- ViewManager.cs
- EventLogger.cs
- SkinBuilder.cs
- InputBuffer.cs
- Soap12FormatExtensions.cs
- BaseDataBoundControl.cs
- XmlILAnnotation.cs
- TypeBuilder.cs
- HMACSHA384.cs
- DataGridViewComponentPropertyGridSite.cs
- Listbox.cs
- MailAddressParser.cs
- WebServiceTypeData.cs
- Point4DConverter.cs
- MergeExecutor.cs
- returneventsaver.cs
- ApplicationSecurityInfo.cs
- PathSegmentCollection.cs
- FileDialogCustomPlace.cs
- DialogResultConverter.cs
- SocketElement.cs
- RectIndependentAnimationStorage.cs
- XmlArrayItemAttributes.cs
- UInt16Storage.cs
- Stacktrace.cs
- QilVisitor.cs
- TextChangedEventArgs.cs