Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BordersPage.cs
- FrameworkElement.cs
- Helpers.cs
- UserControl.cs
- TableLayoutPanel.cs
- RSAPKCS1SignatureDeformatter.cs
- ToolStripTextBox.cs
- SByteStorage.cs
- ToolTipService.cs
- ImageCodecInfo.cs
- DrawingContextDrawingContextWalker.cs
- JsonFormatWriterGenerator.cs
- _RegBlobWebProxyDataBuilder.cs
- MailHeaderInfo.cs
- CalendarDataBindingHandler.cs
- ParameterCollectionEditor.cs
- NameValueCollection.cs
- HelpProvider.cs
- Typeface.cs
- StaticTextPointer.cs
- MenuItemBindingCollection.cs
- ObjectSecurity.cs
- ProfileGroupSettings.cs
- SecurityHeader.cs
- UdpContractFilterBehavior.cs
- BitmapEffectGroup.cs
- RegularExpressionValidator.cs
- HtmlWindowCollection.cs
- MimeAnyImporter.cs
- OdbcParameterCollection.cs
- DBNull.cs
- WebContext.cs
- LocalIdKeyIdentifierClause.cs
- RemoteX509AsymmetricSecurityKey.cs
- TypeSystemHelpers.cs
- HostExecutionContextManager.cs
- SmiContext.cs
- ScriptingWebServicesSectionGroup.cs
- FunctionOverloadResolver.cs
- DataObjectCopyingEventArgs.cs
- WebServiceData.cs
- ListControl.cs
- Slider.cs
- StringCollection.cs
- SourceLineInfo.cs
- ComplexPropertyEntry.cs
- NTAccount.cs
- InputLanguageManager.cs
- ObfuscationAttribute.cs
- WebMessageEncodingElement.cs
- StateBag.cs
- SiteIdentityPermission.cs
- GuidelineCollection.cs
- IEnumerable.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- cryptoapiTransform.cs
- UnionCodeGroup.cs
- PermissionRequestEvidence.cs
- SyndicationSerializer.cs
- X509SubjectKeyIdentifierClause.cs
- AccessDataSourceView.cs
- QueryCacheKey.cs
- BitmapEncoder.cs
- SqlHelper.cs
- URLMembershipCondition.cs
- Assembly.cs
- TreeNodeEventArgs.cs
- ControlPager.cs
- InputBinder.cs
- TypeValidationEventArgs.cs
- DataKeyCollection.cs
- FontUnit.cs
- CodeLabeledStatement.cs
- SessionStateModule.cs
- WSTransactionSection.cs
- InspectionWorker.cs
- RealizationDrawingContextWalker.cs
- AttachedAnnotationChangedEventArgs.cs
- WebServiceMethodData.cs
- Normalization.cs
- _TransmitFileOverlappedAsyncResult.cs
- SafeArrayRankMismatchException.cs
- XmlStreamedByteStreamReader.cs
- FileVersionInfo.cs
- InvalidAsynchronousStateException.cs
- Rfc2898DeriveBytes.cs
- ColumnMapTranslator.cs
- ComponentRenameEvent.cs
- SafeHandles.cs
- RotateTransform.cs
- TemplateNodeContextMenu.cs
- FontUnitConverter.cs
- MenuItemBinding.cs
- CompositeActivityValidator.cs
- TextShapeableCharacters.cs
- OutputChannel.cs
- AssemblyCollection.cs
- PanningMessageFilter.cs
- ProcessManager.cs
- SettingsSection.cs