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
- MbpInfo.cs
- RestHandlerFactory.cs
- CodeAccessSecurityEngine.cs
- X509ChainPolicy.cs
- SubpageParagraph.cs
- WindowsContainer.cs
- SoapMessage.cs
- TextDecorationLocationValidation.cs
- IgnorePropertiesAttribute.cs
- SmtpDigestAuthenticationModule.cs
- ConsumerConnectionPointCollection.cs
- JulianCalendar.cs
- DefaultValidator.cs
- SchemaElementLookUpTable.cs
- TransformValueSerializer.cs
- VectorCollectionConverter.cs
- AutomationProperties.cs
- NetNamedPipeSecurityElement.cs
- FileFormatException.cs
- CodeBlockBuilder.cs
- UidManager.cs
- MaskInputRejectedEventArgs.cs
- CodeCompileUnit.cs
- CustomCredentialPolicy.cs
- Package.cs
- SchemaImporterExtensionElement.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ModelPropertyCollectionImpl.cs
- HwndAppCommandInputProvider.cs
- ArraySegment.cs
- SqlCacheDependencyDatabaseCollection.cs
- NameSpaceExtractor.cs
- BaseParser.cs
- SqlClientMetaDataCollectionNames.cs
- DesignerSerializationVisibilityAttribute.cs
- ExpressionSelection.cs
- UpdateCommandGenerator.cs
- SecurityDescriptor.cs
- StrokeNode.cs
- DateRangeEvent.cs
- CodeAttributeDeclaration.cs
- ToggleProviderWrapper.cs
- MsmqAppDomainProtocolHandler.cs
- OdbcPermission.cs
- MaterialGroup.cs
- MobileSysDescriptionAttribute.cs
- DataControlImageButton.cs
- UidManager.cs
- DataGridTextBox.cs
- EventSource.cs
- Selector.cs
- RectKeyFrameCollection.cs
- ViewLoader.cs
- COM2FontConverter.cs
- WebPartPersonalization.cs
- BackgroundFormatInfo.cs
- Button.cs
- SponsorHelper.cs
- RegionData.cs
- DocumentScope.cs
- HeaderCollection.cs
- ImageBrush.cs
- EventHandlersStore.cs
- DataGridGeneralPage.cs
- Token.cs
- ContractMapping.cs
- OleDragDropHandler.cs
- ConstructorNeedsTagAttribute.cs
- ColorInterpolationModeValidation.cs
- NumberFunctions.cs
- ArrayConverter.cs
- DbParameterCollectionHelper.cs
- SubordinateTransaction.cs
- SqlDataSource.cs
- JsonXmlDataContract.cs
- DataGridViewRowConverter.cs
- PartitionedStream.cs
- PtsContext.cs
- ImageDesigner.cs
- SchemaElementDecl.cs
- DrawingBrush.cs
- SqlCacheDependencySection.cs
- SoapSchemaImporter.cs
- DependencyPropertyValueSerializer.cs
- SequentialOutput.cs
- OdbcParameterCollection.cs
- Rotation3D.cs
- MetadataArtifactLoaderCompositeResource.cs
- VersionPair.cs
- ConstraintCollection.cs
- StructuralType.cs
- SessionState.cs
- TerminatorSinks.cs
- PriorityChain.cs
- MulticastOption.cs
- Certificate.cs
- ChannelServices.cs
- shaperfactoryquerycachekey.cs
- IconHelper.cs
- EventArgs.cs