Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; ////// [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. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { using System; using System.Collections; using System.Diagnostics; using System.Security.Permissions; ////// [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.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MenuBase.cs
- ComponentManagerBroker.cs
- CodeSubDirectory.cs
- SplitterCancelEvent.cs
- ConfigurationPropertyAttribute.cs
- DataObjectSettingDataEventArgs.cs
- RegistryExceptionHelper.cs
- LocalizableAttribute.cs
- WindowsIdentity.cs
- typedescriptorpermissionattribute.cs
- ObjectSet.cs
- SmiRecordBuffer.cs
- QueryStringParameter.cs
- CustomAttributeSerializer.cs
- IApplicationTrustManager.cs
- UnknownBitmapDecoder.cs
- Comparer.cs
- UpdateTranslator.cs
- ConnectionsZone.cs
- PageTheme.cs
- UpdateProgress.cs
- TypeElementCollection.cs
- Comparer.cs
- FloaterBaseParagraph.cs
- ButtonRenderer.cs
- RequiredArgumentAttribute.cs
- IRCollection.cs
- TransactionState.cs
- DataTable.cs
- CategoryAttribute.cs
- Options.cs
- Vector3DKeyFrameCollection.cs
- WebPartZoneCollection.cs
- Block.cs
- XmlBindingWorker.cs
- TemplateField.cs
- XmlLanguage.cs
- DisplayClaim.cs
- WindowsPrincipal.cs
- FamilyCollection.cs
- EventHandlers.cs
- DbProviderFactory.cs
- SemanticResolver.cs
- DefaultHttpHandler.cs
- StickyNoteContentControl.cs
- EntityCommandExecutionException.cs
- EmulateRecognizeCompletedEventArgs.cs
- SiteMembershipCondition.cs
- ChannelSinkStacks.cs
- EncoderParameters.cs
- TrackPoint.cs
- XmlSchemaExternal.cs
- MILUtilities.cs
- brushes.cs
- Directory.cs
- DataGridViewCellParsingEventArgs.cs
- PolicyUnit.cs
- ElementInit.cs
- TextHidden.cs
- PTConverter.cs
- IdentityManager.cs
- Typography.cs
- ListViewItem.cs
- NullableLongAverageAggregationOperator.cs
- CSharpCodeProvider.cs
- ReflectionTypeLoadException.cs
- WebMessageEncodingElement.cs
- TrackingMemoryStream.cs
- WinEventHandler.cs
- ConfigPathUtility.cs
- SelectionEditingBehavior.cs
- CompositeActivityCodeGenerator.cs
- MarshalByRefObject.cs
- ValidationSummaryDesigner.cs
- MobileFormsAuthentication.cs
- DataGridViewImageCell.cs
- IssuedTokensHeader.cs
- SmiEventSink_Default.cs
- SortExpressionBuilder.cs
- EventLogger.cs
- StringValidatorAttribute.cs
- UIElement3D.cs
- GlobalItem.cs
- HtmlSelect.cs
- _SpnDictionary.cs
- DragStartedEventArgs.cs
- LabelLiteral.cs
- ObjectQuery.cs
- ResourcePermissionBase.cs
- JournalEntryStack.cs
- DataSourceNameHandler.cs
- BoolLiteral.cs
- ClassHandlersStore.cs
- ProfileGroupSettings.cs
- AsymmetricAlgorithm.cs
- COM2IProvidePropertyBuilderHandler.cs
- ThreadStateException.cs
- DeclaredTypeValidator.cs
- Line.cs
- FlowDocumentReaderAutomationPeer.cs