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
- NavigationProperty.cs
- SinglePageViewer.cs
- ExceptionNotification.cs
- TypeKeyValue.cs
- IconHelper.cs
- ExpanderAutomationPeer.cs
- UriScheme.cs
- AsymmetricAlgorithm.cs
- MemoryPressure.cs
- storepermissionattribute.cs
- ManifestResourceInfo.cs
- securitycriticaldata.cs
- DataGridViewLinkColumn.cs
- UnsafeNativeMethods.cs
- HighlightVisual.cs
- AutomationProperty.cs
- URLIdentityPermission.cs
- EdmFunction.cs
- HitTestParameters.cs
- DataGridViewCellEventArgs.cs
- BitmapEncoder.cs
- CurrencyWrapper.cs
- DebugView.cs
- FieldBuilder.cs
- IisTraceWebEventProvider.cs
- Paragraph.cs
- BevelBitmapEffect.cs
- BindingGroup.cs
- InstanceValue.cs
- SqlDataSourceDesigner.cs
- SID.cs
- HostVisual.cs
- List.cs
- PolyBezierSegment.cs
- TableRowCollection.cs
- SmiEventStream.cs
- BrowserInteropHelper.cs
- NameNode.cs
- ClrPerspective.cs
- UrlAuthFailedErrorFormatter.cs
- WebControl.cs
- DiagnosticsConfiguration.cs
- NextPreviousPagerField.cs
- TextBoxView.cs
- DataGridCaption.cs
- Padding.cs
- CodeConditionStatement.cs
- DynamicMetaObject.cs
- DesignerListAdapter.cs
- TextServicesProperty.cs
- OleDbParameter.cs
- RijndaelManaged.cs
- DrawingCollection.cs
- RegistryDataKey.cs
- ListDictionary.cs
- ContentTextAutomationPeer.cs
- QueryContinueDragEvent.cs
- DataGridRowEventArgs.cs
- XmlNode.cs
- WindowsAuthenticationEventArgs.cs
- GetPageNumberCompletedEventArgs.cs
- DocumentViewerAutomationPeer.cs
- BitmapEffectInputData.cs
- PlatformCulture.cs
- Utility.cs
- SQLCharsStorage.cs
- NamespaceEmitter.cs
- RTLAwareMessageBox.cs
- XXXInfos.cs
- CollectionViewProxy.cs
- GetLedgerRequest.cs
- BrowserDefinitionCollection.cs
- XmlSchemaDocumentation.cs
- SecurityTokenParameters.cs
- RuntimeWrappedException.cs
- ProfileEventArgs.cs
- Separator.cs
- EdmToObjectNamespaceMap.cs
- ObjectComplexPropertyMapping.cs
- UniqueTransportManagerRegistration.cs
- ComplexType.cs
- CodeArrayCreateExpression.cs
- AsymmetricKeyExchangeFormatter.cs
- FlowDocumentReader.cs
- JavaScriptObjectDeserializer.cs
- ProcessManager.cs
- HtmlHead.cs
- ObjectCloneHelper.cs
- XpsS0ValidatingLoader.cs
- ThousandthOfEmRealDoubles.cs
- DesignerImageAdapter.cs
- CachingHintValidation.cs
- Int64KeyFrameCollection.cs
- DesignerActionItem.cs
- DetailsViewInsertEventArgs.cs
- CompilationRelaxations.cs
- PackWebResponse.cs
- ACE.cs
- XPathNavigatorReader.cs
- MsmqChannelListenerBase.cs