Code:
/ DotNET / DotNET / 8.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
- IWorkflowDebuggerService.cs
- TextFormatter.cs
- CommandPlan.cs
- HtmlDocument.cs
- BitStream.cs
- OracleDataReader.cs
- EmbeddedMailObjectsCollection.cs
- DataBindingsDialog.cs
- AddInIpcChannel.cs
- Selection.cs
- CodeCastExpression.cs
- MemoryStream.cs
- SafeNativeMethods.cs
- XmlWriter.cs
- SecurityHeaderLayout.cs
- ExtendedProperty.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ChtmlCommandAdapter.cs
- httpstaticobjectscollection.cs
- StickyNoteHelper.cs
- SharedUtils.cs
- EdmToObjectNamespaceMap.cs
- TemplateApplicationHelper.cs
- WindowProviderWrapper.cs
- XmlUtil.cs
- EventProxy.cs
- SymmetricKey.cs
- ExpanderAutomationPeer.cs
- BufferedGraphicsContext.cs
- QueryOutputWriterV1.cs
- WmlSelectionListAdapter.cs
- Schema.cs
- BuildProvidersCompiler.cs
- QilExpression.cs
- ColorBlend.cs
- SqlDataSourceSelectingEventArgs.cs
- QueryParameter.cs
- MatrixTransform3D.cs
- ICspAsymmetricAlgorithm.cs
- DataServiceHost.cs
- BitmapDecoder.cs
- SubpageParagraph.cs
- SchemaSetCompiler.cs
- SemanticResolver.cs
- AssemblyAttributes.cs
- IndexObject.cs
- DocumentOrderQuery.cs
- DispatcherTimer.cs
- NavigatorInvalidBodyAccessException.cs
- Code.cs
- TreeNodeCollection.cs
- X509ImageLogo.cs
- UnorderedHashRepartitionStream.cs
- PropertyPath.cs
- CompiledQuery.cs
- SoundPlayer.cs
- WindowsListViewGroupHelper.cs
- SubMenuStyleCollectionEditor.cs
- InputQueue.cs
- HandleInitializationContext.cs
- ItemContainerGenerator.cs
- COM2EnumConverter.cs
- TracedNativeMethods.cs
- UserThread.cs
- MimePart.cs
- MissingMethodException.cs
- ConfigDefinitionUpdates.cs
- LogicalTreeHelper.cs
- StatusBarItemAutomationPeer.cs
- Header.cs
- WebPartHeaderCloseVerb.cs
- Helpers.cs
- XmlWriter.cs
- ObjectStateEntry.cs
- SystemEvents.cs
- CommonDialog.cs
- PathSegment.cs
- UrlAuthorizationModule.cs
- ResourcePermissionBaseEntry.cs
- CodeThrowExceptionStatement.cs
- PersonalizationDictionary.cs
- DesignerVerb.cs
- SecureEnvironment.cs
- ErrorHandlingReceiver.cs
- RawStylusSystemGestureInputReport.cs
- MetadataItemSerializer.cs
- SerialPort.cs
- XmlQualifiedName.cs
- BaseResourcesBuildProvider.cs
- TcpProcessProtocolHandler.cs
- BStrWrapper.cs
- smtpconnection.cs
- BuilderInfo.cs
- ProfileService.cs
- DictionarySectionHandler.cs
- AsymmetricAlgorithm.cs
- PaginationProgressEventArgs.cs
- GridViewAutomationPeer.cs
- SafeHandle.cs
- BaseComponentEditor.cs