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
- ToolStripStatusLabel.cs
- DispatcherOperation.cs
- ListBase.cs
- XhtmlCssHandler.cs
- Mappings.cs
- ExpandSegment.cs
- SubpageParagraph.cs
- TextOptionsInternal.cs
- XmlCharCheckingReader.cs
- AbandonedMutexException.cs
- UnaryExpressionHelper.cs
- StringAnimationUsingKeyFrames.cs
- Vertex.cs
- WebPartTracker.cs
- CacheOutputQuery.cs
- DbConnectionStringBuilder.cs
- ValueExpressions.cs
- CodeArrayIndexerExpression.cs
- MimeTypePropertyAttribute.cs
- XmlSchemaSequence.cs
- WindowsFormsSynchronizationContext.cs
- ServiceOperationListItem.cs
- Bold.cs
- HandleCollector.cs
- BitmapMetadataBlob.cs
- WindowsFormsHostAutomationPeer.cs
- CommentAction.cs
- KeyValuePair.cs
- WebPartAuthorizationEventArgs.cs
- PropertyGeneratedEventArgs.cs
- RtfControlWordInfo.cs
- SafeMemoryMappedFileHandle.cs
- SqlVisitor.cs
- Matrix3DConverter.cs
- FunctionQuery.cs
- ContextQuery.cs
- MapPathBasedVirtualPathProvider.cs
- ManagementEventArgs.cs
- WeakReference.cs
- IImplicitResourceProvider.cs
- Add.cs
- SafeProcessHandle.cs
- UnsafeNativeMethods.cs
- CodeDomDesignerLoader.cs
- DrawingGroup.cs
- ListenerAdaptersInstallComponent.cs
- Quaternion.cs
- EdmFunction.cs
- KeyNotFoundException.cs
- RNGCryptoServiceProvider.cs
- ContextMenuStripGroup.cs
- LocalFileSettingsProvider.cs
- ResourceReferenceExpressionConverter.cs
- EditingMode.cs
- RequestQueryParser.cs
- DragSelectionMessageFilter.cs
- DataServiceRequestArgs.cs
- TrimSurroundingWhitespaceAttribute.cs
- TableSectionStyle.cs
- DataProtection.cs
- ListParagraph.cs
- TextTreeInsertUndoUnit.cs
- SystemNetworkInterface.cs
- RuntimeConfigurationRecord.cs
- ExpressionDumper.cs
- SafeTimerHandle.cs
- RichTextBoxAutomationPeer.cs
- WorkflowCreationContext.cs
- ListenerAdapter.cs
- BamlRecordReader.cs
- _ConnectStream.cs
- SQLUtility.cs
- MouseOverProperty.cs
- HwndSourceParameters.cs
- UncommonField.cs
- ButtonChrome.cs
- RemotingAttributes.cs
- WhitespaceRuleLookup.cs
- PeerPresenceInfo.cs
- CompilationUtil.cs
- XmlSchemas.cs
- DataServiceProviderWrapper.cs
- FreezableCollection.cs
- TextLine.cs
- XmlEncodedRawTextWriter.cs
- TextTreeUndo.cs
- Span.cs
- Renderer.cs
- UrlAuthorizationModule.cs
- TraceSection.cs
- TypeCollectionDesigner.xaml.cs
- DockPanel.cs
- BinaryWriter.cs
- PopOutPanel.cs
- ProtocolsConfigurationEntry.cs
- RawStylusInput.cs
- SqlTransaction.cs
- AppDomain.cs
- RegisteredExpandoAttribute.cs
- SqlNotificationEventArgs.cs