Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / DesignerActionListCollection.cs / 1 / DesignerActionListCollection.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel.Design {
using System;
using System.Collections;
using System.Diagnostics;
///
///
/// [To be supplied.]
///
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
public class DesignerActionListCollection : CollectionBase {
///
///
/// [To be supplied.]
///
public DesignerActionListCollection() {
}
internal DesignerActionListCollection(DesignerActionList actionList) {
this.Add(actionList);
}
///
///
/// [To be supplied.]
///
public DesignerActionListCollection(DesignerActionList[] value) {
AddRange(value);
}
///
///
/// [To be supplied.]
///
public DesignerActionList this[int index] {
get {
return (DesignerActionList)(List[index]);
}
set {
List[index] = value;
}
}
///
///
/// [To be supplied.]
///
public int Add(DesignerActionList value) {
return List.Add(value);
}
///
///
/// [To be supplied.]
///
public void AddRange(DesignerActionList[] value) {
if (value == null) {
throw new ArgumentNullException("value");
}
for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) {
this.Add(value[i]);
}
}
///
///
/// [To be supplied.]
///
public void AddRange(DesignerActionListCollection 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]);
}
}
///
///
/// [To be supplied.]
///
public void Insert(int index, DesignerActionList value) {
List.Insert(index, value);
}
///
///
/// [To be supplied.]
///
public int IndexOf(DesignerActionList value) {
return List.IndexOf(value);
}
///
///
/// [To be supplied.]
///
public bool Contains(DesignerActionList value) {
return List.Contains(value);
}
///
///
/// [To be supplied.]
///
public void Remove(DesignerActionList value) {
List.Remove(value);
}
///
///
/// [To be supplied.]
///
public void CopyTo(DesignerActionList[] array, int index) {
List.CopyTo(array, index);
}
///
///
/// [To be supplied.]
///
protected override void OnSet(int index, object oldValue, object newValue) {
}
///
///
/// [To be supplied.]
///
protected override void OnInsert(int index, object value) {
}
///
///
/// [To be supplied.]
///
protected override void OnClear() {
}
///
///
/// [To be supplied.]
///
protected override void OnRemove(int index, object value) {
}
///
///
/// [To be supplied.]
///
protected override void OnValidate(object value) {
Debug.Assert(value != null, "Don't add null actionlist!");
}
}
}
// 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
- UrlPath.cs
- DynamicDataManager.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SqlProviderManifest.cs
- FileCodeGroup.cs
- AuthorizationRule.cs
- TemplateXamlTreeBuilder.cs
- DrawingGroup.cs
- Section.cs
- KeyProperty.cs
- DictionarySectionHandler.cs
- HttpCapabilitiesSectionHandler.cs
- ElementMarkupObject.cs
- DataGridViewCellCancelEventArgs.cs
- ObjectDataSourceDisposingEventArgs.cs
- Point3D.cs
- OutputScopeManager.cs
- XmlUTF8TextReader.cs
- InlineUIContainer.cs
- TextLineBreak.cs
- XmlAttributeCollection.cs
- ResponseStream.cs
- DivideByZeroException.cs
- odbcmetadatacollectionnames.cs
- ChtmlLinkAdapter.cs
- Int64.cs
- AttachedPropertyMethodSelector.cs
- EncryptedData.cs
- InstanceHandleReference.cs
- DetailsViewPageEventArgs.cs
- ToolStripDropTargetManager.cs
- StorageTypeMapping.cs
- ActivityValidator.cs
- SqlGatherProducedAliases.cs
- UnknownBitmapDecoder.cs
- WindowsSysHeader.cs
- InfoCardTraceRecord.cs
- XmlCodeExporter.cs
- Permission.cs
- clipboard.cs
- TextDecorationCollection.cs
- IndexOutOfRangeException.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Collection.cs
- ObjectParameter.cs
- XmlAttributeCache.cs
- WebDisplayNameAttribute.cs
- ListBoxItemWrapperAutomationPeer.cs
- TableLayout.cs
- Compress.cs
- DesignerForm.cs
- SystemParameters.cs
- BinaryFormatterWriter.cs
- SecurityToken.cs
- LockedHandleGlyph.cs
- XmlWriterSettings.cs
- RenderTargetBitmap.cs
- RegexFCD.cs
- DataGridViewCellMouseEventArgs.cs
- TextContainer.cs
- HashCodeCombiner.cs
- XmlExtensionFunction.cs
- MarshalByValueComponent.cs
- FixedLineResult.cs
- SharedStream.cs
- MissingSatelliteAssemblyException.cs
- NotCondition.cs
- CallTemplateAction.cs
- XmlArrayAttribute.cs
- SimpleHandlerFactory.cs
- OperatingSystem.cs
- Annotation.cs
- AlternateViewCollection.cs
- MsmqIntegrationMessageProperty.cs
- GPPOINTF.cs
- DurationConverter.cs
- SQLSingle.cs
- WebScriptMetadataMessageEncoderFactory.cs
- StylusLogic.cs
- TemplateBamlRecordReader.cs
- WorkflowValidationFailedException.cs
- HtmlInputReset.cs
- ListViewSortEventArgs.cs
- ScriptingAuthenticationServiceSection.cs
- TCEAdapterGenerator.cs
- CodeBinaryOperatorExpression.cs
- HttpPostClientProtocol.cs
- MenuBase.cs
- ListBase.cs
- CdpEqualityComparer.cs
- Pool.cs
- EntityContainer.cs
- AffineTransform3D.cs
- ExtensionSimplifierMarkupObject.cs
- ErrorProvider.cs
- ContentPlaceHolder.cs
- ContentDisposition.cs
- ECDiffieHellman.cs
- StrokeNodeData.cs
- XmlTextAttribute.cs