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
- IOThreadScheduler.cs
- MemoryResponseElement.cs
- TypeUsageBuilder.cs
- ToggleProviderWrapper.cs
- NgenServicingAttributes.cs
- InvalidPropValue.cs
- Configuration.cs
- PartialCachingAttribute.cs
- StatusBar.cs
- SmiTypedGetterSetter.cs
- AccessibleObject.cs
- DataRowChangeEvent.cs
- DocumentViewerBaseAutomationPeer.cs
- WindowsToolbarAsMenu.cs
- ComponentChangingEvent.cs
- TrustSection.cs
- GC.cs
- VideoDrawing.cs
- HierarchicalDataTemplate.cs
- HighlightComponent.cs
- VoiceInfo.cs
- DesignerMetadata.cs
- BitmapFrame.cs
- DelegateSerializationHolder.cs
- ResourceDescriptionAttribute.cs
- XmlSiteMapProvider.cs
- ValueSerializer.cs
- httpapplicationstate.cs
- DefaultWorkflowLoaderService.cs
- ImportCatalogPart.cs
- UserValidatedEventArgs.cs
- SerializerWriterEventHandlers.cs
- CursorInteropHelper.cs
- EnumerableRowCollection.cs
- Environment.cs
- ApplicationTrust.cs
- Figure.cs
- CharacterBufferReference.cs
- CssClassPropertyAttribute.cs
- QueryCacheManager.cs
- ListCollectionView.cs
- EmbeddedObject.cs
- Point4D.cs
- ExtendedPropertyInfo.cs
- AuthenticateEventArgs.cs
- DataGridViewColumnCollection.cs
- CodePageEncoding.cs
- RowToParametersTransformer.cs
- CompressedStack.cs
- SmiXetterAccessMap.cs
- MissingMethodException.cs
- ScriptReferenceEventArgs.cs
- CodeAttributeDeclarationCollection.cs
- ProtocolReflector.cs
- ReadOnlyNameValueCollection.cs
- PlaceHolder.cs
- SubstitutionDesigner.cs
- TreeIterator.cs
- Page.cs
- InlineObject.cs
- Formatter.cs
- CalendarDesigner.cs
- MemberAssignmentAnalysis.cs
- CompareValidator.cs
- ExecutionContext.cs
- SqlDataSourceTableQuery.cs
- SimpleLine.cs
- ScaleTransform.cs
- WindowsImpersonationContext.cs
- ETagAttribute.cs
- CanExecuteRoutedEventArgs.cs
- FloaterBaseParagraph.cs
- CustomError.cs
- RtfToXamlReader.cs
- HtmlMeta.cs
- Interlocked.cs
- ExpressionEditorAttribute.cs
- XmlSchemaExporter.cs
- DbDataRecord.cs
- XmlSchemas.cs
- AffineTransform3D.cs
- DataGridViewToolTip.cs
- ActivityDesignerAccessibleObject.cs
- ShaperBuffers.cs
- ToolTip.cs
- Win32.cs
- PermissionSetEnumerator.cs
- QuaternionAnimationBase.cs
- CompositeScriptReferenceEventArgs.cs
- ClientScriptManager.cs
- CompoundFileReference.cs
- MultiAsyncResult.cs
- HandlerFactoryWrapper.cs
- ISFTagAndGuidCache.cs
- TransactionFlowOption.cs
- InvokeBinder.cs
- Int32Storage.cs
- BindingGroup.cs
- FileDetails.cs
- SortAction.cs