Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeIterationStatement.cs / 1305376 / CodeIterationStatement.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- PropertySegmentSerializer.cs
- FusionWrap.cs
- ScriptControl.cs
- WpfKnownMemberInvoker.cs
- WindowsSpinner.cs
- MessagePartSpecification.cs
- NamedObject.cs
- XomlCompilerHelpers.cs
- SqlClientFactory.cs
- Binding.cs
- PolyLineSegmentFigureLogic.cs
- KoreanLunisolarCalendar.cs
- HttpModuleAction.cs
- ProxyHelper.cs
- GridViewSelectEventArgs.cs
- BufferedReadStream.cs
- LostFocusEventManager.cs
- Imaging.cs
- DiscoveryClientBindingElement.cs
- ReadOnlyHierarchicalDataSource.cs
- LogicalExpr.cs
- AlignmentXValidation.cs
- TargetControlTypeAttribute.cs
- KeyMatchBuilder.cs
- MachineKeyConverter.cs
- BaseTemplateBuildProvider.cs
- IisTraceListener.cs
- ReliableChannelListener.cs
- TraceSection.cs
- BlockCollection.cs
- MultiPropertyDescriptorGridEntry.cs
- SoapHttpTransportImporter.cs
- AutomationPeer.cs
- PnrpPeerResolver.cs
- NumericUpDown.cs
- TreeBuilderBamlTranslator.cs
- FontSizeConverter.cs
- XmlExpressionDumper.cs
- Dispatcher.cs
- SecurityState.cs
- FormsAuthenticationEventArgs.cs
- Int32Rect.cs
- ConfigXmlElement.cs
- ConfigXmlText.cs
- SqlInternalConnectionSmi.cs
- Point3DAnimationBase.cs
- TreeNodeStyleCollection.cs
- InheritablePropertyChangeInfo.cs
- RelationshipType.cs
- WeakHashtable.cs
- TriggerBase.cs
- Point3DCollection.cs
- OverlappedAsyncResult.cs
- EngineSiteSapi.cs
- HandledMouseEvent.cs
- QilNode.cs
- NetworkInformationPermission.cs
- AudioBase.cs
- DataTableCollection.cs
- WeakEventManager.cs
- StyleModeStack.cs
- ProcessModelInfo.cs
- DataPagerField.cs
- WmlSelectionListAdapter.cs
- MembershipSection.cs
- TargetInvocationException.cs
- ListBoxDesigner.cs
- XmlPreloadedResolver.cs
- SynchronizationContextHelper.cs
- ZipIOCentralDirectoryBlock.cs
- WinFormsComponentEditor.cs
- MobileFormsAuthentication.cs
- SqlColumnizer.cs
- AssemblyCache.cs
- XmlDeclaration.cs
- TrackingMemoryStreamFactory.cs
- SystemThemeKey.cs
- HuffCodec.cs
- _UriSyntax.cs
- DataTableClearEvent.cs
- TagPrefixCollection.cs
- ShaderEffect.cs
- securitycriticaldataformultiplegetandset.cs
- XPathParser.cs
- XmlTextAttribute.cs
- CodeAssignStatement.cs
- ClientConfigPaths.cs
- EntityConnectionStringBuilder.cs
- Constraint.cs
- SystemEvents.cs
- StringKeyFrameCollection.cs
- DocumentOrderQuery.cs
- InsufficientMemoryException.cs
- HttpCacheVary.cs
- DPTypeDescriptorContext.cs
- BroadcastEventHelper.cs
- TargetControlTypeAttribute.cs
- ProcessInfo.cs
- CellConstant.cs
- FontStretchConverter.cs