Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerVerbCollection.cs / 1 / DesignerVerbCollection.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel.Design {
using System;
using System.Collections;
using System.Diagnostics;
using System.Security.Permissions;
///
/// [To be supplied.]
///
[HostProtection(SharedState = true)]
[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 DesignerVerbCollection : CollectionBase {
///
/// [To be supplied.]
///
public DesignerVerbCollection() {
}
///
/// [To be supplied.]
///
public DesignerVerbCollection(DesignerVerb[] value) {
AddRange(value);
}
///
/// [To be supplied.]
///
public DesignerVerb this[int index] {
get {
return (DesignerVerb)(List[index]);
}
set {
List[index] = value;
}
}
///
/// [To be supplied.]
///
public int Add(DesignerVerb value) {
return List.Add(value);
}
///
/// [To be supplied.]
///
public void AddRange(DesignerVerb[] 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(DesignerVerbCollection 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, DesignerVerb value) {
List.Insert(index, value);
}
///
/// [To be supplied.]
///
public int IndexOf(DesignerVerb value) {
return List.IndexOf(value);
}
///
/// [To be supplied.]
///
public bool Contains(DesignerVerb value) {
return List.Contains(value);
}
///
/// [To be supplied.]
///
public void Remove(DesignerVerb value) {
List.Remove(value);
}
///
/// [To be supplied.]
///
public void CopyTo(DesignerVerb[] 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 verbs!");
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel.Design {
using System;
using System.Collections;
using System.Diagnostics;
using System.Security.Permissions;
///
/// [To be supplied.]
///
[HostProtection(SharedState = true)]
[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 DesignerVerbCollection : CollectionBase {
///
/// [To be supplied.]
///
public DesignerVerbCollection() {
}
///
/// [To be supplied.]
///
public DesignerVerbCollection(DesignerVerb[] value) {
AddRange(value);
}
///
/// [To be supplied.]
///
public DesignerVerb this[int index] {
get {
return (DesignerVerb)(List[index]);
}
set {
List[index] = value;
}
}
///
/// [To be supplied.]
///
public int Add(DesignerVerb value) {
return List.Add(value);
}
///
/// [To be supplied.]
///
public void AddRange(DesignerVerb[] 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(DesignerVerbCollection 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, DesignerVerb value) {
List.Insert(index, value);
}
///
/// [To be supplied.]
///
public int IndexOf(DesignerVerb value) {
return List.IndexOf(value);
}
///
/// [To be supplied.]
///
public bool Contains(DesignerVerb value) {
return List.Contains(value);
}
///
/// [To be supplied.]
///
public void Remove(DesignerVerb value) {
List.Remove(value);
}
///
/// [To be supplied.]
///
public void CopyTo(DesignerVerb[] 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 verbs!");
}
}
}
// 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
- BamlResourceDeserializer.cs
- DisableDpiAwarenessAttribute.cs
- _HeaderInfoTable.cs
- DockPanel.cs
- QuotedPairReader.cs
- BaseTemplateParser.cs
- OleDbParameter.cs
- BinaryCommonClasses.cs
- SecuritySessionFilter.cs
- CodeGeneratorOptions.cs
- PackWebResponse.cs
- ServiceModelConfigurationElementCollection.cs
- SqlRetyper.cs
- QilExpression.cs
- CorrelationManager.cs
- OracleDateTime.cs
- Model3DCollection.cs
- HttpConfigurationContext.cs
- TypeUtils.cs
- LayoutEngine.cs
- Int16AnimationUsingKeyFrames.cs
- KnownIds.cs
- WebPartAuthorizationEventArgs.cs
- WebPartAuthorizationEventArgs.cs
- peernodestatemanager.cs
- Separator.cs
- List.cs
- SchemaConstraints.cs
- MimeTypeMapper.cs
- Trigger.cs
- UserValidatedEventArgs.cs
- securestring.cs
- DataMemberConverter.cs
- LinqTreeNodeEvaluator.cs
- UDPClient.cs
- ByteStorage.cs
- TypeExtensions.cs
- ReadOnlyDictionary.cs
- HtmlLink.cs
- TextSelectionHighlightLayer.cs
- TemplateBindingExtensionConverter.cs
- ProcessModelSection.cs
- SQLBoolean.cs
- BinaryObjectInfo.cs
- QueryOptionExpression.cs
- CaretElement.cs
- BypassElement.cs
- Size3DValueSerializer.cs
- TimeIntervalCollection.cs
- ISessionStateStore.cs
- SoapMessage.cs
- SqlReferenceCollection.cs
- FieldTemplateFactory.cs
- DataGridColumnDropSeparator.cs
- IncrementalReadDecoders.cs
- MouseGesture.cs
- ReferentialConstraint.cs
- ListGeneralPage.cs
- RepeatBehaviorConverter.cs
- Column.cs
- NonSerializedAttribute.cs
- CacheMemory.cs
- ellipse.cs
- AtomEntry.cs
- ClrProviderManifest.cs
- DebugView.cs
- Point3DCollection.cs
- OleDbPermission.cs
- SeekStoryboard.cs
- PageParser.cs
- ComplexType.cs
- UriWriter.cs
- Canvas.cs
- DataList.cs
- Boolean.cs
- OptimalBreakSession.cs
- InheritanceService.cs
- FocusChangedEventArgs.cs
- ListControl.cs
- SqlFormatter.cs
- GenericTypeParameterBuilder.cs
- CqlParserHelpers.cs
- EmptyCollection.cs
- Object.cs
- TemplateInstanceAttribute.cs
- DetailsViewDeleteEventArgs.cs
- ConfigurationSectionCollection.cs
- CheckPair.cs
- XmlWriterTraceListener.cs
- Transform.cs
- FilterableAttribute.cs
- DeviceContexts.cs
- XamlPathDataSerializer.cs
- WebDescriptionAttribute.cs
- EmptyReadOnlyDictionaryInternal.cs
- EqualityComparer.cs
- SaveFileDialog.cs
- TraceHandlerErrorFormatter.cs
- RuntimeHelpers.cs
- SspiSecurityTokenProvider.cs