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
- PrintEvent.cs
- DataAdapter.cs
- OptimizerPatterns.cs
- GrammarBuilderPhrase.cs
- TraversalRequest.cs
- SqlDataSourceStatusEventArgs.cs
- IndependentAnimationStorage.cs
- ExtendLockCommand.cs
- CheckBox.cs
- ResourceExpressionEditorSheet.cs
- DrawListViewColumnHeaderEventArgs.cs
- Script.cs
- InputLanguage.cs
- SQLConvert.cs
- TypeBuilderInstantiation.cs
- RuntimeCompatibilityAttribute.cs
- ContextMenuStrip.cs
- Message.cs
- IdentityHolder.cs
- ZoneLinkButton.cs
- SqlDataSourceSelectingEventArgs.cs
- DataContext.cs
- XPathAncestorIterator.cs
- SqlLiftWhereClauses.cs
- WarningException.cs
- ScriptIgnoreAttribute.cs
- TypeListConverter.cs
- CollectionEditorDialog.cs
- Material.cs
- TemplateBindingExpressionConverter.cs
- tooltip.cs
- ParenthesizePropertyNameAttribute.cs
- CompensationTokenData.cs
- OracleLob.cs
- Style.cs
- TimeZone.cs
- ValidationErrorCollection.cs
- TextControl.cs
- XamlFilter.cs
- SoapBinding.cs
- DesignerExtenders.cs
- RawTextInputReport.cs
- WindowsStatic.cs
- ColorContextHelper.cs
- SafeNativeMemoryHandle.cs
- AccessorTable.cs
- TypeBuilderInstantiation.cs
- HMACSHA384.cs
- DaylightTime.cs
- PolicyDesigner.cs
- EncoderExceptionFallback.cs
- RowTypeElement.cs
- Soap.cs
- COM2Enum.cs
- CancellationHandlerDesigner.cs
- PathParser.cs
- sqlcontext.cs
- HandleValueEditor.cs
- LineServicesRun.cs
- CredentialSelector.cs
- GradientSpreadMethodValidation.cs
- ObjectDataSourceSelectingEventArgs.cs
- StatusBarAutomationPeer.cs
- Queue.cs
- LiteralText.cs
- Int16Animation.cs
- AssemblyAttributesGoHere.cs
- NamedPipeDuplicateContext.cs
- ImageSourceValueSerializer.cs
- UnorderedHashRepartitionStream.cs
- TriState.cs
- DataGridViewAccessibleObject.cs
- DataGridViewImageColumn.cs
- ZipIOExtraFieldZip64Element.cs
- DBParameter.cs
- SrgsGrammar.cs
- WebPartRestoreVerb.cs
- QueryableDataSourceHelper.cs
- XmlSerializerAssemblyAttribute.cs
- HttpAsyncResult.cs
- TreeViewAutomationPeer.cs
- TextServicesProperty.cs
- X509ThumbprintKeyIdentifierClause.cs
- ManagementEventWatcher.cs
- DataGridViewTextBoxEditingControl.cs
- SQLDecimalStorage.cs
- RequestUriProcessor.cs
- ColorContextHelper.cs
- QuaternionRotation3D.cs
- DateTimeParse.cs
- SrgsText.cs
- ScriptComponentDescriptor.cs
- DecoderReplacementFallback.cs
- QuaternionValueSerializer.cs
- MediaEntryAttribute.cs
- TabControlAutomationPeer.cs
- followingsibling.cs
- LineServicesCallbacks.cs
- UTF32Encoding.cs
- ObjectAnimationBase.cs