Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SoapUnknownHeader.cs
- EncodingDataItem.cs
- XamlGridLengthSerializer.cs
- ToolBar.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ProcessManager.cs
- DrawListViewSubItemEventArgs.cs
- SqlClientPermission.cs
- Glyph.cs
- SynchronizingStream.cs
- SoapSchemaImporter.cs
- CharacterMetrics.cs
- UserInitiatedNavigationPermission.cs
- PolygonHotSpot.cs
- EncoderParameters.cs
- DataGridColumnsPage.cs
- AbstractDataSvcMapFileLoader.cs
- DiagnosticsElement.cs
- OleDbInfoMessageEvent.cs
- MsmqInputChannelListener.cs
- NextPreviousPagerField.cs
- TypeResolvingOptions.cs
- XmlEnumAttribute.cs
- odbcmetadatacolumnnames.cs
- SiteOfOriginPart.cs
- odbcmetadatacolumnnames.cs
- ApplicationFileParser.cs
- RuntimeEnvironment.cs
- HitTestDrawingContextWalker.cs
- AggregatePushdown.cs
- MergablePropertyAttribute.cs
- DataGridViewColumnConverter.cs
- ADConnectionHelper.cs
- VariableElement.cs
- ApplicationTrust.cs
- EdmToObjectNamespaceMap.cs
- ContainerAction.cs
- ViewCellRelation.cs
- StretchValidation.cs
- PerformanceCounterPermissionEntryCollection.cs
- GridView.cs
- MetafileHeaderEmf.cs
- PersonalizationStateQuery.cs
- HostedNamedPipeTransportManager.cs
- RMPermissions.cs
- AuthenticationException.cs
- SchemaCollectionCompiler.cs
- InstanceNotFoundException.cs
- WhitespaceRule.cs
- CounterCreationData.cs
- FieldNameLookup.cs
- SchemaImporterExtension.cs
- LineServicesRun.cs
- SystemEvents.cs
- Type.cs
- ExceptionAggregator.cs
- ConfigurationManagerInternalFactory.cs
- ParameterModifier.cs
- NegotiateStream.cs
- SplitterCancelEvent.cs
- ProfileSettings.cs
- BooleanExpr.cs
- DbResourceAllocator.cs
- StoragePropertyMapping.cs
- Cursors.cs
- SpecialTypeDataContract.cs
- ReadOnlyDictionary.cs
- MdiWindowListStrip.cs
- MemberRestriction.cs
- HandlerWithFactory.cs
- DrawingContextDrawingContextWalker.cs
- ClientConfigurationHost.cs
- DataGridLengthConverter.cs
- WebProxyScriptElement.cs
- RedirectionProxy.cs
- SQLUtility.cs
- HMACMD5.cs
- DbCommandDefinition.cs
- RepeaterItemEventArgs.cs
- WorkflowTransactionService.cs
- WebReferencesBuildProvider.cs
- SafeNativeMethods.cs
- TdsEnums.cs
- DecoderReplacementFallback.cs
- ContourSegment.cs
- ImageList.cs
- TraceContextEventArgs.cs
- ThreadExceptionEvent.cs
- ContainsRowNumberChecker.cs
- XPathSingletonIterator.cs
- Constraint.cs
- DocumentViewer.cs
- Line.cs
- HtmlElementErrorEventArgs.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SqlRemoveConstantOrderBy.cs
- Thickness.cs
- MergeFilterQuery.cs
- httpserverutility.cs
- BamlBinaryWriter.cs