Code:
/ DotNET / DotNET / 8.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
- TypeTypeConverter.cs
- InternalConfigRoot.cs
- WindowsFormsSectionHandler.cs
- GacUtil.cs
- Util.cs
- BindingOperations.cs
- RepeatButton.cs
- SendActivityEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- ZoneMembershipCondition.cs
- TypeBuilderInstantiation.cs
- StreamInfo.cs
- FileIOPermission.cs
- StrokeDescriptor.cs
- OracleEncoding.cs
- IntegerCollectionEditor.cs
- MsdtcClusterUtils.cs
- DateTimeUtil.cs
- DuplexChannelBinder.cs
- XmlQualifiedName.cs
- RenderContext.cs
- BevelBitmapEffect.cs
- Subtree.cs
- TreeNodeCollection.cs
- Attributes.cs
- WebPartManager.cs
- RotateTransform.cs
- Classification.cs
- TypeToArgumentTypeConverter.cs
- QuaternionAnimation.cs
- EditorPartCollection.cs
- InkPresenterAutomationPeer.cs
- HtmlShim.cs
- HttpServerChannel.cs
- XMLUtil.cs
- CodeTypeDeclarationCollection.cs
- SubtreeProcessor.cs
- Psha1DerivedKeyGeneratorHelper.cs
- ParseNumbers.cs
- InsufficientMemoryException.cs
- RootBrowserWindow.cs
- XmlSerializer.cs
- FrameworkElement.cs
- SchemaConstraints.cs
- CompilerCollection.cs
- ForEach.cs
- CommandBinding.cs
- FolderLevelBuildProvider.cs
- OleServicesContext.cs
- CurrencyManager.cs
- XMLSyntaxException.cs
- XmlIlVisitor.cs
- RenderTargetBitmap.cs
- ElementAction.cs
- InkCanvasInnerCanvas.cs
- TextUtf8RawTextWriter.cs
- SqlXmlStorage.cs
- HttpStreamXmlDictionaryWriter.cs
- HybridObjectCache.cs
- BodyWriter.cs
- SchemaDeclBase.cs
- ProfileServiceManager.cs
- MembershipSection.cs
- LazyTextWriterCreator.cs
- Adorner.cs
- DynamicILGenerator.cs
- BitmapEffectState.cs
- PointCollection.cs
- CodeExporter.cs
- EntityDataSourceContextCreatedEventArgs.cs
- COM2ExtendedBrowsingHandler.cs
- HGlobalSafeHandle.cs
- RSACryptoServiceProvider.cs
- TextFormatter.cs
- FixedSOMPageElement.cs
- ClickablePoint.cs
- XmlILConstructAnalyzer.cs
- baseshape.cs
- TextBoxBaseDesigner.cs
- XamlTemplateSerializer.cs
- DateTimeConverter2.cs
- BinaryUtilClasses.cs
- ApplicationBuildProvider.cs
- ObjectItemCollection.cs
- LocationSectionRecord.cs
- SqlRecordBuffer.cs
- FunctionDetailsReader.cs
- MarkedHighlightComponent.cs
- EditorAttribute.cs
- XmlNavigatorFilter.cs
- MulticastOption.cs
- QueryContinueDragEventArgs.cs
- SelectionRangeConverter.cs
- TextTreeRootNode.cs
- Int32Animation.cs
- BuildDependencySet.cs
- WebControlAdapter.cs
- PeerName.cs
- StylusSystemGestureEventArgs.cs
- SharedUtils.cs