Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameterCollection.cs / 1 / CodeTypeParameterCollection.cs
// ------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // ----------------------------------------------------------------------------- // namespace System.CodeDom { using System; using System.Collections; using System.Runtime.InteropServices; [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeTypeParameterCollection : CollectionBase { public CodeTypeParameterCollection() { } public CodeTypeParameterCollection(CodeTypeParameterCollection value) { this.AddRange(value); } public CodeTypeParameterCollection(CodeTypeParameter[] value) { this.AddRange(value); } public CodeTypeParameter this[int index] { get { return ((CodeTypeParameter)(List[index])); } set { List[index] = value; } } public int Add(CodeTypeParameter value) { return List.Add(value); } public void Add(string value) { Add(new CodeTypeParameter(value)); } public void AddRange(CodeTypeParameter[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } public void AddRange(CodeTypeParameterCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } public bool Contains(CodeTypeParameter value) { return List.Contains(value); } public void CopyTo(CodeTypeParameter[] array, int index) { List.CopyTo(array, index); } public int IndexOf(CodeTypeParameter value) { return List.IndexOf(value); } public void Insert(int index, CodeTypeParameter value) { List.Insert(index, value); } public void Remove(CodeTypeParameter value) { List.Remove(value); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SiteMapNodeItem.cs
- OneToOneMappingSerializer.cs
- MessageDecoder.cs
- XamlParser.cs
- Quad.cs
- MobileListItemCollection.cs
- AmbientValueAttribute.cs
- Italic.cs
- ApplicationHost.cs
- UIHelper.cs
- ExpressionBuilder.cs
- MetadataConversionError.cs
- FindCriteriaApril2005.cs
- StandardCommandToolStripMenuItem.cs
- OpacityConverter.cs
- DispatchChannelSink.cs
- LocatorManager.cs
- XmlSchemaAnyAttribute.cs
- Screen.cs
- QueryPageSettingsEventArgs.cs
- ConstraintEnumerator.cs
- PositiveTimeSpanValidator.cs
- DataServiceQueryOfT.cs
- WindowsScrollBarBits.cs
- Enum.cs
- ListViewAutomationPeer.cs
- ExpressionBinding.cs
- WSTrust.cs
- ToolStripProgressBar.cs
- DocobjHost.cs
- SQLSingle.cs
- NetworkInformationPermission.cs
- SoapAttributeAttribute.cs
- TemplateControlBuildProvider.cs
- Span.cs
- StickyNoteAnnotations.cs
- EntityDataSourceWrapper.cs
- DependencyObject.cs
- DependencyObject.cs
- DataGridViewColumnDesigner.cs
- MLangCodePageEncoding.cs
- GridEntryCollection.cs
- WebHttpEndpoint.cs
- CountdownEvent.cs
- ImmComposition.cs
- List.cs
- XmlUrlEditor.cs
- StringStorage.cs
- PeerEndPoint.cs
- BooleanExpr.cs
- PenContexts.cs
- EntityDataSourceDesigner.cs
- ApplicationManager.cs
- DiscoveryOperationContextExtension.cs
- InputLanguage.cs
- StreamInfo.cs
- SQLGuid.cs
- StrokeNodeOperations.cs
- ObjectStateFormatter.cs
- TextCompositionEventArgs.cs
- BackgroundFormatInfo.cs
- ISAPIRuntime.cs
- MachineKeyConverter.cs
- RawStylusInputCustomData.cs
- EditingMode.cs
- WS2007HttpBindingCollectionElement.cs
- DiscoveryClientChannelFactory.cs
- XmlDeclaration.cs
- ScriptIgnoreAttribute.cs
- UdpDiscoveryEndpointElement.cs
- ToolStripRendererSwitcher.cs
- BlobPersonalizationState.cs
- TypeInfo.cs
- ValidatingPropertiesEventArgs.cs
- SyntaxCheck.cs
- RoleManagerEventArgs.cs
- ReaderContextStackData.cs
- MembershipPasswordException.cs
- PtsHelper.cs
- ThaiBuddhistCalendar.cs
- NameValuePair.cs
- PartBasedPackageProperties.cs
- CompatibleComparer.cs
- FormViewInsertedEventArgs.cs
- ConfigUtil.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ElementProxy.cs
- BaseCAMarshaler.cs
- MsmqBindingFilter.cs
- ChangeProcessor.cs
- IdentitySection.cs
- BitmapEffectState.cs
- EasingQuaternionKeyFrame.cs
- VirtualPathProvider.cs
- AttributeUsageAttribute.cs
- SByteStorage.cs
- Image.cs
- BooleanFunctions.cs
- LinkDescriptor.cs
- SingleAnimationUsingKeyFrames.cs