Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ------------------------------------------------------------------------------ //// 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RadioButtonAutomationPeer.cs
- HttpsHostedTransportConfiguration.cs
- MediaScriptCommandRoutedEventArgs.cs
- InvokeGenerator.cs
- MenuItem.cs
- ScriptingProfileServiceSection.cs
- ContentPosition.cs
- EntityDataSourceWizardForm.cs
- PackageDocument.cs
- TemplateBindingExpression.cs
- SoapExtensionTypeElement.cs
- XPathQilFactory.cs
- Receive.cs
- ServicesExceptionNotHandledEventArgs.cs
- FixUp.cs
- StylusPointProperty.cs
- ScriptingProfileServiceSection.cs
- VScrollBar.cs
- ImageFormatConverter.cs
- WindowsListViewItem.cs
- MaterialCollection.cs
- InputProcessorProfilesLoader.cs
- Authorization.cs
- FormView.cs
- FormViewPageEventArgs.cs
- TextElementEnumerator.cs
- TextBlockAutomationPeer.cs
- LicenseContext.cs
- BitVector32.cs
- HMACSHA512.cs
- DurationConverter.cs
- TextPattern.cs
- SelectionProcessor.cs
- TitleStyle.cs
- DataObject.cs
- StringCollection.cs
- PeerNameRecordCollection.cs
- GlyphRunDrawing.cs
- SingleStorage.cs
- MultiAsyncResult.cs
- MessageSmuggler.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- XPathMultyIterator.cs
- TripleDESCryptoServiceProvider.cs
- Hash.cs
- AnimationClockResource.cs
- SqlXml.cs
- Serializer.cs
- ComboBox.cs
- SQLString.cs
- AdobeCFFWrapper.cs
- CheckedPointers.cs
- SkewTransform.cs
- UIElementPropertyUndoUnit.cs
- SqlCrossApplyToCrossJoin.cs
- MexServiceChannelBuilder.cs
- ProcessManager.cs
- BufferAllocator.cs
- LinkClickEvent.cs
- DesignerCategoryAttribute.cs
- ClonableStack.cs
- Encoder.cs
- MimeParameter.cs
- XmlElementAttributes.cs
- WhereaboutsReader.cs
- QilXmlReader.cs
- SafeLibraryHandle.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- EntityModelBuildProvider.cs
- WSSecureConversationDec2005.cs
- TabPage.cs
- GridViewDesigner.cs
- XPathNode.cs
- ToolStripManager.cs
- FormView.cs
- TickBar.cs
- RadioButton.cs
- DocumentsTrace.cs
- DispatcherProcessingDisabled.cs
- StaticResourceExtension.cs
- TypeAccessException.cs
- ColorKeyFrameCollection.cs
- ForeignKeyConstraint.cs
- DrawingAttributesDefaultValueFactory.cs
- DrawItemEvent.cs
- ImmutableCollection.cs
- DataGridTable.cs
- KeyNotFoundException.cs
- EtwTrace.cs
- ProtectedProviderSettings.cs
- XmlCollation.cs
- PageBuildProvider.cs
- EdgeProfileValidation.cs
- ExceptionList.cs
- Compiler.cs
- Pair.cs
- CompilerGeneratedAttribute.cs
- ByteFacetDescriptionElement.cs
- Matrix3DValueSerializer.cs
- ProcessThread.cs