Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameterCollection.cs / 1305376 / CodeTypeParameterCollection.cs
// ------------------------------------------------------------------------------ //// // // ----------------------------------------------------------------------------- // 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. //
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventHandlers.cs
- PipeSecurity.cs
- SqlParameterCollection.cs
- AlphabetConverter.cs
- CustomWebEventKey.cs
- FileLoadException.cs
- ConfigurationPermission.cs
- WebBrowsableAttribute.cs
- WebConfigurationManager.cs
- ToolStripControlHost.cs
- _AutoWebProxyScriptWrapper.cs
- CompilerError.cs
- SoapHeader.cs
- SystemInfo.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- StorageFunctionMapping.cs
- RoleGroupCollection.cs
- UnsafeNativeMethods.cs
- GetWinFXPath.cs
- SessionStateContainer.cs
- SHA1.cs
- FaultHandlingFilter.cs
- EntityDataSourceStatementEditorForm.cs
- ActionItem.cs
- DefaultParameterValueAttribute.cs
- ApplicationGesture.cs
- SmtpSection.cs
- DesignerSerializationOptionsAttribute.cs
- MessageQueueTransaction.cs
- DataControlField.cs
- ButtonFlatAdapter.cs
- HelpProvider.cs
- CollectionConverter.cs
- ToolStripItemImageRenderEventArgs.cs
- IItemContainerGenerator.cs
- ListViewDeleteEventArgs.cs
- ViewLoader.cs
- ArraySortHelper.cs
- AnonymousIdentificationSection.cs
- ParserOptions.cs
- ICspAsymmetricAlgorithm.cs
- base64Transforms.cs
- AdPostCacheSubstitution.cs
- TreeViewDesigner.cs
- TextContainerHelper.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- TypeEnumerableViewSchema.cs
- clipboard.cs
- Attributes.cs
- Predicate.cs
- PersonalizableAttribute.cs
- Exceptions.cs
- NoResizeHandleGlyph.cs
- HwndSubclass.cs
- HtmlTableCell.cs
- RoleGroup.cs
- CounterCreationDataConverter.cs
- ControllableStoryboardAction.cs
- TimeIntervalCollection.cs
- TdsParserHelperClasses.cs
- ResourceBinder.cs
- HandlerBase.cs
- Visitors.cs
- SettingsBindableAttribute.cs
- pingexception.cs
- EntityDataSourceContextDisposingEventArgs.cs
- CodeArgumentReferenceExpression.cs
- IconConverter.cs
- DockPanel.cs
- LocatorBase.cs
- UrlSyndicationContent.cs
- QilInvokeLateBound.cs
- FixedSOMElement.cs
- GlyphRun.cs
- ApplicationException.cs
- WebEncodingValidatorAttribute.cs
- IdentifierCreationService.cs
- BaseDataList.cs
- XmlBindingWorker.cs
- Collection.cs
- ServiceDescription.cs
- Win32.cs
- CodeGeneratorOptions.cs
- QuaternionConverter.cs
- DiagnosticTraceSource.cs
- UnconditionalPolicy.cs
- Tuple.cs
- DiagnosticsConfiguration.cs
- IdentitySection.cs
- TextElementEditingBehaviorAttribute.cs
- Label.cs
- Vector3DConverter.cs
- DataControlFieldCollection.cs
- ServiceSettingsResponseInfo.cs
- ReflectEventDescriptor.cs
- NullableDecimalAverageAggregationOperator.cs
- EntityContainer.cs
- TerminatorSinks.cs
- BulletedListEventArgs.cs
- RepeatEnumerable.cs