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
- CngUIPolicy.cs
- TextBoxBase.cs
- ConstraintEnumerator.cs
- ListControl.cs
- SynchronizedDispatch.cs
- PartDesigner.cs
- SystemInfo.cs
- BufferedConnection.cs
- HostingEnvironmentSection.cs
- followingquery.cs
- sortedlist.cs
- XmlElementList.cs
- PackageRelationshipCollection.cs
- HttpDebugHandler.cs
- Triplet.cs
- ITreeGenerator.cs
- ContextMenuService.cs
- IncrementalHitTester.cs
- ReadOnlyMetadataCollection.cs
- ObjectDataSourceStatusEventArgs.cs
- PKCS1MaskGenerationMethod.cs
- NameNode.cs
- SessionStateContainer.cs
- SQLRoleProvider.cs
- PrintDialog.cs
- Collection.cs
- Span.cs
- ObjectListFieldsPage.cs
- InfiniteTimeSpanConverter.cs
- FastEncoder.cs
- GenerateTemporaryAssemblyTask.cs
- _BaseOverlappedAsyncResult.cs
- JsonEnumDataContract.cs
- ListViewGroupItemCollection.cs
- WebBrowserNavigatedEventHandler.cs
- PagerSettings.cs
- DataContractSerializerServiceBehavior.cs
- XPathBinder.cs
- NestedContainer.cs
- SqlInfoMessageEvent.cs
- EntityCollection.cs
- COM2TypeInfoProcessor.cs
- Helpers.cs
- EditingScope.cs
- DesignBinding.cs
- TranslateTransform.cs
- GeometryConverter.cs
- XmlProcessingInstruction.cs
- TextTreeUndoUnit.cs
- XmlUTF8TextWriter.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- ControlsConfig.cs
- DefaultSection.cs
- InstanceNormalEvent.cs
- WsdlBuildProvider.cs
- ListViewItemMouseHoverEvent.cs
- ErrorWebPart.cs
- AutomationPropertyInfo.cs
- Point.cs
- XmlCharacterData.cs
- IisTraceListener.cs
- ControlUtil.cs
- TypeForwardedToAttribute.cs
- InputGestureCollection.cs
- ReadOnlyCollectionBase.cs
- Win32SafeHandles.cs
- ArrayTypeMismatchException.cs
- ExtensionWindowResizeGrip.cs
- StrokeCollectionDefaultValueFactory.cs
- SQLSingle.cs
- XsdBuildProvider.cs
- Grid.cs
- TokenBasedSet.cs
- Attributes.cs
- RegexReplacement.cs
- StorageRoot.cs
- RenderTargetBitmap.cs
- X509Utils.cs
- ThicknessKeyFrameCollection.cs
- UnauthorizedAccessException.cs
- XPathNode.cs
- MenuItemCollection.cs
- ValidationErrorCollection.cs
- ToolStripDropTargetManager.cs
- CodeAttributeDeclaration.cs
- SmtpDateTime.cs
- IRCollection.cs
- BehaviorEditorPart.cs
- DiscoveryClientProtocol.cs
- RoutedEventValueSerializer.cs
- WpfPayload.cs
- AdornerDecorator.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- FixedSOMFixedBlock.cs
- DataGridViewMethods.cs
- TimeSpanFormat.cs
- PolyBezierSegment.cs
- ImageFormat.cs
- DeferredReference.cs
- PageVisual.cs