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
- XmlNodeReader.cs
- DataServiceSaveChangesEventArgs.cs
- CapabilitiesSection.cs
- TrackingRecord.cs
- ConfigXmlText.cs
- DefinitionUpdate.cs
- TextLineBreak.cs
- DefaultValidator.cs
- RowSpanVector.cs
- WebPartManagerInternals.cs
- Bits.cs
- ObjectReferenceStack.cs
- FunctionDetailsReader.cs
- MiniAssembly.cs
- DataColumnChangeEvent.cs
- OleDbDataReader.cs
- SlipBehavior.cs
- LoginUtil.cs
- TabControl.cs
- mongolianshape.cs
- TextBox.cs
- EmptyStringExpandableObjectConverter.cs
- MsmqHostedTransportConfiguration.cs
- VarRemapper.cs
- SkewTransform.cs
- HashStream.cs
- MetabaseServerConfig.cs
- InputProviderSite.cs
- TextAdaptor.cs
- SqlParameterCollection.cs
- ValidationResult.cs
- HttpHandlerAction.cs
- RowCache.cs
- CrossContextChannel.cs
- BindingMemberInfo.cs
- HostVisual.cs
- OneToOneMappingSerializer.cs
- Pair.cs
- Literal.cs
- XmlSchemaInferenceException.cs
- TableAdapterManagerHelper.cs
- FactoryRecord.cs
- __ConsoleStream.cs
- HTMLTagNameToTypeMapper.cs
- CapabilitiesAssignment.cs
- XamlTreeBuilder.cs
- SecurityRuntime.cs
- ParameterCollection.cs
- SpanIndex.cs
- ThaiBuddhistCalendar.cs
- AdornerPresentationContext.cs
- EmbossBitmapEffect.cs
- Operator.cs
- DrawingAttributesDefaultValueFactory.cs
- TextTreeText.cs
- ComplexObject.cs
- DbCommandDefinition.cs
- NameTable.cs
- SqlGatherConsumedAliases.cs
- _AutoWebProxyScriptEngine.cs
- AbsoluteQuery.cs
- EditorPartChrome.cs
- TraceSection.cs
- OdbcParameterCollection.cs
- ConfigXmlText.cs
- FontStretch.cs
- LinqDataSourceDisposeEventArgs.cs
- ContextMenuStrip.cs
- RoutedCommand.cs
- ResourceSet.cs
- VirtualDirectoryMapping.cs
- RoutedEventHandlerInfo.cs
- ServiceModelInstallComponent.cs
- MethodRental.cs
- DesignerProperties.cs
- UriScheme.cs
- ReflectionPermission.cs
- TrackingServices.cs
- PreservationFileReader.cs
- ContextQuery.cs
- MeasureItemEvent.cs
- DecimalAverageAggregationOperator.cs
- AutomationElement.cs
- XmlQualifiedName.cs
- NoResizeSelectionBorderGlyph.cs
- Stack.cs
- SamlConditions.cs
- HtmlInputImage.cs
- RuntimeArgumentHandle.cs
- AuthorizationRuleCollection.cs
- BaseCollection.cs
- GeneralTransform.cs
- ColorConvertedBitmap.cs
- FutureFactory.cs
- OleStrCAMarshaler.cs
- SmtpNegotiateAuthenticationModule.cs
- XamlGridLengthSerializer.cs
- QilPatternFactory.cs
- PresentationSource.cs
- RoleGroupCollection.cs