Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeIndexerExpression.cs / 1305376 / CodeIndexerExpression.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 CodeIndexerExpression : CodeExpression { private CodeExpression targetObject; private CodeExpressionCollection indices; ////// Represents an array indexer expression. /// ////// public CodeIndexerExpression() { } ////// Initializes a new instance of ///. /// /// public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { this.targetObject = targetObject; this.indices = new CodeExpressionCollection(); this.indices.AddRange(indices); } ////// Initializes a new instance of ///using the specified target /// object and index. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public CodeExpressionCollection Indices { get { if (indices == null) { indices = new CodeExpressionCollection(); } return indices; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets /// the index. /// ///// // //----------------------------------------------------------------------------- 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 CodeIndexerExpression : CodeExpression { private CodeExpression targetObject; private CodeExpressionCollection indices; ////// Represents an array indexer expression. /// ////// public CodeIndexerExpression() { } ////// Initializes a new instance of ///. /// /// public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) { this.targetObject = targetObject; this.indices = new CodeExpressionCollection(); this.indices.AddRange(indices); } ////// Initializes a new instance of ///using the specified target /// object and index. /// /// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets /// the target object. /// ////// public CodeExpressionCollection Indices { get { if (indices == null) { indices = new CodeExpressionCollection(); } return indices; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets /// the index. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UserNameSecurityTokenAuthenticator.cs
- SSmlParser.cs
- DeclarationUpdate.cs
- OracleDataReader.cs
- DataGridViewCellPaintingEventArgs.cs
- DesignerTransaction.cs
- Route.cs
- GenericEnumConverter.cs
- DataContractJsonSerializer.cs
- TreeNode.cs
- MatrixUtil.cs
- DecoderReplacementFallback.cs
- CssTextWriter.cs
- Menu.cs
- Util.cs
- IQueryable.cs
- Button.cs
- BooleanStorage.cs
- XmlChildEnumerator.cs
- MinMaxParagraphWidth.cs
- SevenBitStream.cs
- LayoutDump.cs
- ValidationErrorEventArgs.cs
- ObjectDataSourceEventArgs.cs
- Graphics.cs
- ServiceDescriptionImporter.cs
- XmlDocumentFieldSchema.cs
- ManualResetEvent.cs
- OdbcConnectionStringbuilder.cs
- ZipIOBlockManager.cs
- TopClause.cs
- DependencyPropertyKind.cs
- Point3DCollection.cs
- CellLabel.cs
- XMLUtil.cs
- TemplateControlCodeDomTreeGenerator.cs
- BindValidationContext.cs
- InternalCache.cs
- TagPrefixAttribute.cs
- GridErrorDlg.cs
- ApplyImportsAction.cs
- GridView.cs
- BaseParser.cs
- EntityFunctions.cs
- HwndHost.cs
- PermissionSetEnumerator.cs
- TraceListeners.cs
- TabControl.cs
- Label.cs
- FontStretches.cs
- ColorPalette.cs
- HeaderedContentControl.cs
- TagPrefixCollection.cs
- SlotInfo.cs
- EdmItemError.cs
- Popup.cs
- Nullable.cs
- Object.cs
- CompositeScriptReference.cs
- autovalidator.cs
- DataObjectCopyingEventArgs.cs
- isolationinterop.cs
- XappLauncher.cs
- ReflectionUtil.cs
- SystemDiagnosticsSection.cs
- UnconditionalPolicy.cs
- WarningException.cs
- DataTableMappingCollection.cs
- KeyboardNavigation.cs
- Site.cs
- ListenerPerfCounters.cs
- Panel.cs
- XPathAncestorIterator.cs
- UnsafeNativeMethods.cs
- WebPartDescriptionCollection.cs
- HttpGetProtocolImporter.cs
- ImageButton.cs
- TextSelectionProcessor.cs
- PartBasedPackageProperties.cs
- SplitterEvent.cs
- Application.cs
- Nullable.cs
- SrgsElement.cs
- RenamedEventArgs.cs
- DoubleConverter.cs
- RenderOptions.cs
- ConstraintStruct.cs
- Transform.cs
- PersonalizationStateInfo.cs
- WorkItem.cs
- ActivationWorker.cs
- NonVisualControlAttribute.cs
- WindowsListViewScroll.cs
- log.cs
- BlurEffect.cs
- EmptyElement.cs
- NavigationPropertyEmitter.cs
- ThemeableAttribute.cs
- FacetEnabledSchemaElement.cs
- ImageButton.cs