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
- XmlKeywords.cs
- LayoutUtils.cs
- StyleXamlTreeBuilder.cs
- SelectionBorderGlyph.cs
- DeferredSelectedIndexReference.cs
- WindowsToolbar.cs
- HtmlSelect.cs
- UntrustedRecipientException.cs
- COSERVERINFO.cs
- ConfigurationStrings.cs
- TrustManager.cs
- XmlValidatingReader.cs
- DefaultHttpHandler.cs
- MasterPageParser.cs
- InheritanceRules.cs
- ConditionalExpression.cs
- ObjectDataSourceDisposingEventArgs.cs
- SamlEvidence.cs
- Point.cs
- MatrixAnimationUsingPath.cs
- SettingsSavedEventArgs.cs
- UIInitializationException.cs
- EpmCustomContentSerializer.cs
- TableLayoutStyle.cs
- UnsafeNetInfoNativeMethods.cs
- Evaluator.cs
- FrugalList.cs
- ContainerFilterService.cs
- MachineKeyConverter.cs
- IWorkflowDebuggerService.cs
- ComponentEditorPage.cs
- RequestSecurityTokenResponse.cs
- RuntimeConfigurationRecord.cs
- ScrollItemPatternIdentifiers.cs
- ConfigErrorGlyph.cs
- SoapExtension.cs
- PointLight.cs
- RectAnimationUsingKeyFrames.cs
- BinHexEncoding.cs
- MatrixAnimationUsingKeyFrames.cs
- MediaPlayer.cs
- TreeChangeInfo.cs
- DeploymentExceptionMapper.cs
- ParameterCollection.cs
- XslTransformFileEditor.cs
- SourceFileBuildProvider.cs
- AbandonedMutexException.cs
- SqlDataSourceTableQuery.cs
- RegexGroup.cs
- MailWriter.cs
- SingleAnimationUsingKeyFrames.cs
- Dispatcher.cs
- GlobalizationSection.cs
- QuaternionValueSerializer.cs
- Profiler.cs
- Int16Storage.cs
- XmlArrayItemAttribute.cs
- BlobPersonalizationState.cs
- InheritablePropertyChangeInfo.cs
- FormatStringEditor.cs
- RectKeyFrameCollection.cs
- FileCodeGroup.cs
- AmbientLight.cs
- ScalarType.cs
- XmlSchemaSimpleTypeList.cs
- CodeTypeDeclarationCollection.cs
- HwndSourceKeyboardInputSite.cs
- Metafile.cs
- ApplicationActivator.cs
- DeferredReference.cs
- ParserStreamGeometryContext.cs
- WebPartMenuStyle.cs
- CorrelationActionMessageFilter.cs
- DesignerObject.cs
- SessionParameter.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- RuntimeIdentifierPropertyAttribute.cs
- PropertyValueUIItem.cs
- ScriptControlDescriptor.cs
- CompositeFontFamily.cs
- XmlSchemaDatatype.cs
- EntityClassGenerator.cs
- TextModifierScope.cs
- InplaceBitmapMetadataWriter.cs
- StorageEntitySetMapping.cs
- SafeNativeMethodsCLR.cs
- CodeCommentStatement.cs
- DesignerCommandSet.cs
- DataGridViewRowStateChangedEventArgs.cs
- MetadataProperty.cs
- TabRenderer.cs
- DataGridTablesFactory.cs
- InstancePersistenceEvent.cs
- SamlAuthorizationDecisionStatement.cs
- MenuItemStyleCollection.cs
- Label.cs
- AutomationPropertyInfo.cs
- HtmlTernaryTree.cs
- ListItemDetailViewAttribute.cs
- _NestedSingleAsyncResult.cs