Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeTypeParameterCollection.cs / 1305376 / 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
- DataBindingCollection.cs
- BinaryObjectInfo.cs
- SystemPens.cs
- TypeDependencyAttribute.cs
- ObjectReferenceStack.cs
- QilReference.cs
- GPRECT.cs
- TransactionFilter.cs
- WebPartConnectVerb.cs
- Function.cs
- SimpleType.cs
- ListViewContainer.cs
- QuaternionAnimation.cs
- RuleSetCollection.cs
- MULTI_QI.cs
- LocationChangedEventArgs.cs
- HwndSourceParameters.cs
- Tokenizer.cs
- LogicalExpr.cs
- RangeContentEnumerator.cs
- RecordBuilder.cs
- StreamAsIStream.cs
- XamlSerializerUtil.cs
- Form.cs
- fixedPageContentExtractor.cs
- ReachDocumentReferenceSerializerAsync.cs
- SubclassTypeValidatorAttribute.cs
- _BufferOffsetSize.cs
- ping.cs
- SevenBitStream.cs
- NameValueCollection.cs
- SessionParameter.cs
- ScriptReference.cs
- DragSelectionMessageFilter.cs
- WorkflowInlining.cs
- RepeatBehaviorConverter.cs
- EntityUtil.cs
- PenThreadPool.cs
- MemberDomainMap.cs
- CustomAttributeFormatException.cs
- FrameworkElement.cs
- ParseElementCollection.cs
- InputProcessorProfiles.cs
- InputDevice.cs
- ExecutionEngineException.cs
- HttpsChannelListener.cs
- RecordsAffectedEventArgs.cs
- LoginCancelEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- Attribute.cs
- FileDetails.cs
- DataExpression.cs
- CaseStatementSlot.cs
- SynchronizingStream.cs
- SqlUdtInfo.cs
- XmlSchemaAll.cs
- MarshalDirectiveException.cs
- DataPagerCommandEventArgs.cs
- DataProtectionSecurityStateEncoder.cs
- ComponentResourceKey.cs
- Brush.cs
- QilFunction.cs
- SectionRecord.cs
- ModelUtilities.cs
- CultureSpecificStringDictionary.cs
- UnmanagedMarshal.cs
- FragmentQueryKB.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- VisualTarget.cs
- SR.cs
- WebPartCollection.cs
- CircleHotSpot.cs
- ToolStripDesignerAvailabilityAttribute.cs
- DesignerActionItemCollection.cs
- WebPartCatalogCloseVerb.cs
- AssertFilter.cs
- DataRowCollection.cs
- _Win32.cs
- WindowsBrush.cs
- ByteAnimation.cs
- DataPointer.cs
- AccessedThroughPropertyAttribute.cs
- PersistenceTypeAttribute.cs
- WmlListAdapter.cs
- KeyboardDevice.cs
- TemplateBamlTreeBuilder.cs
- TabControl.cs
- entitydatasourceentitysetnameconverter.cs
- TableHeaderCell.cs
- BuildProviderCollection.cs
- CqlWriter.cs
- ParentQuery.cs
- Pair.cs
- ReadOnlyTernaryTree.cs
- AnnotationStore.cs
- XmlBindingWorker.cs
- ObjectCloneHelper.cs
- Panel.cs
- ObjectDataSourceSelectingEventArgs.cs
- QueryExpr.cs