Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- Panel.cs
- EdgeProfileValidation.cs
- UTF32Encoding.cs
- WindowsPen.cs
- QueryContinueDragEvent.cs
- activationcontext.cs
- _TLSstream.cs
- DiscreteKeyFrames.cs
- Accessible.cs
- TextRangeBase.cs
- PageAsyncTask.cs
- QilReference.cs
- TextEditorThreadLocalStore.cs
- DetailsViewRowCollection.cs
- GB18030Encoding.cs
- FilteredAttributeCollection.cs
- PaginationProgressEventArgs.cs
- FormViewUpdateEventArgs.cs
- TraceInternal.cs
- ObjectKeyFrameCollection.cs
- arclist.cs
- SessionParameter.cs
- SHA256.cs
- EntityDesignerUtils.cs
- WindowsTab.cs
- SoapMessage.cs
- SQLDouble.cs
- SafeProcessHandle.cs
- LogExtentCollection.cs
- PathFigure.cs
- DataGridViewButtonColumn.cs
- LinearKeyFrames.cs
- NamespaceEmitter.cs
- ColumnBinding.cs
- AsynchronousChannelMergeEnumerator.cs
- SchemaImporterExtensionElement.cs
- EventData.cs
- SpellerError.cs
- ContentTextAutomationPeer.cs
- SpotLight.cs
- ListViewDataItem.cs
- VersionedStreamOwner.cs
- ApplicationInfo.cs
- EncryptedXml.cs
- HttpServerProtocol.cs
- DocumentApplicationJournalEntry.cs
- XmlCharType.cs
- ToolStripItemRenderEventArgs.cs
- Speller.cs
- ByteRangeDownloader.cs
- SiteOfOriginContainer.cs
- ClientTarget.cs
- SubpageParagraph.cs
- PenLineJoinValidation.cs
- CngProperty.cs
- ManipulationDevice.cs
- WindowsListViewSubItem.cs
- ThaiBuddhistCalendar.cs
- CharacterMetricsDictionary.cs
- ContainerParagraph.cs
- StorageComplexTypeMapping.cs
- LinkButton.cs
- DependentList.cs
- NamespaceEmitter.cs
- GetWinFXPath.cs
- UIElement3D.cs
- StrongNamePublicKeyBlob.cs
- MouseEvent.cs
- UIElementCollection.cs
- ACL.cs
- FileIOPermission.cs
- OLEDB_Enum.cs
- EdgeProfileValidation.cs
- UrlMapping.cs
- TimeSpanStorage.cs
- BaseValidator.cs
- BitmapEffect.cs
- ImageField.cs
- followingquery.cs
- BaseCollection.cs
- Vector3DIndependentAnimationStorage.cs
- ToolStripHighContrastRenderer.cs
- DbProviderFactoriesConfigurationHandler.cs
- DocumentsTrace.cs
- MetabaseSettings.cs
- StateMachine.cs
- AttributeQuery.cs
- WebBodyFormatMessageProperty.cs
- ClientType.cs
- Material.cs
- DataGridViewCellMouseEventArgs.cs
- HyperLinkColumn.cs
- WhitespaceRule.cs
- SyndicationItemFormatter.cs
- DirectoryNotFoundException.cs
- xsdvalidator.cs
- DataGridViewCheckBoxColumn.cs
- HiddenFieldPageStatePersister.cs
- XamlSerializerUtil.cs
- PropertyEmitterBase.cs