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
- ApplyImportsAction.cs
- selecteditemcollection.cs
- Effect.cs
- EventTrigger.cs
- TreeViewItemAutomationPeer.cs
- UdpReplyToBehavior.cs
- SelectionEditingBehavior.cs
- GraphicsContext.cs
- VideoDrawing.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- RecognizedWordUnit.cs
- SiteMapNode.cs
- EntitySqlQueryCacheKey.cs
- SafeReversePInvokeHandle.cs
- Peer.cs
- DataControlCommands.cs
- DataRowView.cs
- PassportAuthenticationModule.cs
- SizeIndependentAnimationStorage.cs
- XmlHierarchyData.cs
- ListViewHitTestInfo.cs
- MetaModel.cs
- MultilineStringEditor.cs
- ComMethodElementCollection.cs
- Message.cs
- EditorPart.cs
- WindowsPrincipal.cs
- SinglePageViewer.cs
- SoapAttributeOverrides.cs
- ResourceDefaultValueAttribute.cs
- UMPAttributes.cs
- StackSpiller.Temps.cs
- SByte.cs
- CdpEqualityComparer.cs
- GridLength.cs
- RelativeSource.cs
- NavigationProperty.cs
- XmlTextReaderImpl.cs
- TextRangeProviderWrapper.cs
- FlowDecisionLabelFeature.cs
- PassportAuthenticationModule.cs
- TreeViewAutomationPeer.cs
- ItemContainerGenerator.cs
- OdbcEnvironmentHandle.cs
- ToolStripTextBox.cs
- ClosableStream.cs
- UInt32Converter.cs
- DataGridViewColumnCollectionDialog.cs
- BrushValueSerializer.cs
- DetailsViewPagerRow.cs
- Point3DCollection.cs
- BuildManager.cs
- ClickablePoint.cs
- AutoResetEvent.cs
- SecureConversationServiceCredential.cs
- TableRowCollection.cs
- CompiledQuery.cs
- SqlDuplicator.cs
- SoapClientMessage.cs
- Assert.cs
- TextDecorations.cs
- Rect3D.cs
- TimersDescriptionAttribute.cs
- Volatile.cs
- HierarchicalDataBoundControl.cs
- DynamicPropertyHolder.cs
- ResXDataNode.cs
- StringUtil.cs
- EventMappingSettingsCollection.cs
- Registry.cs
- FamilyCollection.cs
- ParallelTimeline.cs
- WebServiceClientProxyGenerator.cs
- ConnectionStringsSection.cs
- NullableFloatSumAggregationOperator.cs
- UTF32Encoding.cs
- DictionaryEntry.cs
- CustomWebEventKey.cs
- DbConnectionStringCommon.cs
- RegexTree.cs
- ProviderSettings.cs
- String.cs
- SoapIgnoreAttribute.cs
- WebPartConnectionCollection.cs
- LineInfo.cs
- TypeConverterHelper.cs
- BooleanProjectedSlot.cs
- BitmapEffectInput.cs
- XmlValidatingReaderImpl.cs
- SinglePhaseEnlistment.cs
- FamilyCollection.cs
- DefaultValidator.cs
- CellParagraph.cs
- SqlDataAdapter.cs
- Type.cs
- StreamWriter.cs
- CollectionChangeEventArgs.cs
- LinkDescriptor.cs
- ProxyElement.cs
- Graphics.cs