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
- ImageButton.cs
- SrgsRuleRef.cs
- StateRuntime.cs
- HTTPNotFoundHandler.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ProviderBase.cs
- TreeViewImageIndexConverter.cs
- LayoutTable.cs
- AuthenticationSection.cs
- Dictionary.cs
- _ListenerRequestStream.cs
- EntityDataSourceQueryBuilder.cs
- EdmToObjectNamespaceMap.cs
- StructuralObject.cs
- TextElementEnumerator.cs
- StringDictionary.cs
- FormViewModeEventArgs.cs
- ReadOnlyActivityGlyph.cs
- Table.cs
- ApplicationProxyInternal.cs
- SafeFindHandle.cs
- NonBatchDirectoryCompiler.cs
- StateItem.cs
- DataKey.cs
- NodeInfo.cs
- Normalizer.cs
- TreeView.cs
- WebPartActionVerb.cs
- DbTransaction.cs
- UriParserTemplates.cs
- ProbeMatchesApril2005.cs
- XmlAttributeCollection.cs
- NameValueFileSectionHandler.cs
- DocumentAutomationPeer.cs
- SimpleMailWebEventProvider.cs
- ObjectPersistData.cs
- Transform3DCollection.cs
- ResourcesBuildProvider.cs
- CallbackCorrelationInitializer.cs
- FunctionParameter.cs
- OutputCacheProfile.cs
- WindowsListViewScroll.cs
- SspiSafeHandles.cs
- ObjectRef.cs
- TimeSpanSecondsConverter.cs
- DictionaryEntry.cs
- WindowsComboBox.cs
- SurrogateSelector.cs
- WebPartUserCapability.cs
- ReflectionHelper.cs
- Converter.cs
- RoleService.cs
- EventLogPermissionAttribute.cs
- ArgumentOutOfRangeException.cs
- ProfileModule.cs
- TransformerInfoCollection.cs
- DivideByZeroException.cs
- BinaryNode.cs
- CompositeDataBoundControl.cs
- CryptoConfig.cs
- HostingPreferredMapPath.cs
- ListViewCommandEventArgs.cs
- ReflectPropertyDescriptor.cs
- AssemblySettingAttributes.cs
- RectAnimationBase.cs
- PointLight.cs
- SevenBitStream.cs
- BamlResourceDeserializer.cs
- GreenMethods.cs
- TypeElement.cs
- x509store.cs
- Paragraph.cs
- CatalogZone.cs
- SqlConnection.cs
- DataListItemEventArgs.cs
- TransactionState.cs
- CompositeScriptReference.cs
- HTTPNotFoundHandler.cs
- GridPattern.cs
- SafeFileMappingHandle.cs
- VSDExceptions.cs
- StrongNameUtility.cs
- SafeNativeMethods.cs
- ArgumentOutOfRangeException.cs
- EventManager.cs
- CustomExpressionEventArgs.cs
- XmlDictionaryReader.cs
- Equal.cs
- EpmSyndicationContentDeSerializer.cs
- SyndicationElementExtension.cs
- MD5.cs
- ContainerFilterService.cs
- cache.cs
- ClientProxyGenerator.cs
- BamlLocalizationDictionary.cs
- PropertyChangeTracker.cs
- SafeNativeMethods.cs
- XmlSchemaAnnotated.cs
- XPathNavigatorKeyComparer.cs
- RegexCompilationInfo.cs