Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SQLInt64.cs
- CrossSiteScriptingValidation.cs
- MenuCommands.cs
- XmlDictionaryReader.cs
- listitem.cs
- TraceHandler.cs
- FormViewUpdateEventArgs.cs
- HMACSHA256.cs
- PtsHost.cs
- _NetRes.cs
- Clause.cs
- AnimatedTypeHelpers.cs
- RubberbandSelector.cs
- RadialGradientBrush.cs
- WebPartVerbsEventArgs.cs
- IndicCharClassifier.cs
- DesignTimeParseData.cs
- DesignerView.xaml.cs
- BaseServiceProvider.cs
- Emitter.cs
- HtmlInputHidden.cs
- BindingSource.cs
- TreeNodeCollection.cs
- TextEditorTyping.cs
- JobStaple.cs
- LinqDataSourceDisposeEventArgs.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- EnumValAlphaComparer.cs
- AdCreatedEventArgs.cs
- WorkflowInstanceQuery.cs
- ConfigurationSectionCollection.cs
- XmlDocument.cs
- AnnotationHighlightLayer.cs
- Timer.cs
- WindowsFormsSynchronizationContext.cs
- configsystem.cs
- entityreference_tresulttype.cs
- WinFormsComponentEditor.cs
- CodeIdentifiers.cs
- ProgressBar.cs
- CodeAttributeDeclaration.cs
- CodeIndexerExpression.cs
- XmlDownloadManager.cs
- SqlDataSourceFilteringEventArgs.cs
- TimeEnumHelper.cs
- CodeGenerator.cs
- CodeDomDecompiler.cs
- TextEditor.cs
- SemanticBasicElement.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- ObjRef.cs
- TargetConverter.cs
- SmiGettersStream.cs
- CryptoStream.cs
- UIInitializationException.cs
- XmlILOptimizerVisitor.cs
- MatrixIndependentAnimationStorage.cs
- StaticResourceExtension.cs
- BatchServiceHost.cs
- PermissionRequestEvidence.cs
- ExceptionRoutedEventArgs.cs
- FontFamilyIdentifier.cs
- TemplateBindingExpressionConverter.cs
- StrongTypingException.cs
- NativeMethods.cs
- FixedElement.cs
- HttpAsyncResult.cs
- diagnosticsswitches.cs
- WindowsUpDown.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- SelectionHighlightInfo.cs
- UIntPtr.cs
- Quaternion.cs
- DuplicateMessageDetector.cs
- TypeDependencyAttribute.cs
- ReadOnlyDataSourceView.cs
- TableItemStyle.cs
- XslAst.cs
- ReferenceConverter.cs
- DocumentViewerBase.cs
- MetadataArtifactLoader.cs
- DataGridRelationshipRow.cs
- InputElement.cs
- basevalidator.cs
- PageClientProxyGenerator.cs
- SkipQueryOptionExpression.cs
- Color.cs
- ChtmlTextWriter.cs
- RemotingAttributes.cs
- DetailsViewUpdatedEventArgs.cs
- DataComponentMethodGenerator.cs
- DataGridViewTextBoxColumn.cs
- DbgUtil.cs
- ZipIOCentralDirectoryBlock.cs
- SectionVisual.cs
- Connector.cs
- ServiceTimeoutsElement.cs
- FullTextLine.cs
- SplineKeyFrames.cs
- System.Data.OracleClient_BID.cs