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
- _MultipleConnectAsync.cs
- RegexRunnerFactory.cs
- BulletedListDesigner.cs
- IRCollection.cs
- XmlDocumentType.cs
- WsatAdminException.cs
- ButtonChrome.cs
- DbConnectionPoolGroupProviderInfo.cs
- TimeZone.cs
- SettingsSection.cs
- Compiler.cs
- KeyedHashAlgorithm.cs
- ComIntegrationManifestGenerator.cs
- Vector3DCollectionValueSerializer.cs
- XsltException.cs
- Line.cs
- SiteMembershipCondition.cs
- SolidColorBrush.cs
- CompareInfo.cs
- OrderedDictionary.cs
- WsatAdminException.cs
- ConnectionStringsExpressionEditor.cs
- Win32PrintDialog.cs
- Activator.cs
- DocumentCollection.cs
- Journaling.cs
- HandlerElementCollection.cs
- GridItemCollection.cs
- GenericIdentity.cs
- ClaimSet.cs
- ACL.cs
- HttpModuleAction.cs
- DbConnectionPool.cs
- CharKeyFrameCollection.cs
- ProxyHelper.cs
- SmtpDateTime.cs
- DesignParameter.cs
- ExpressionBindings.cs
- CssStyleCollection.cs
- ECDiffieHellmanPublicKey.cs
- IteratorFilter.cs
- AssemblyBuilderData.cs
- SourceFileBuildProvider.cs
- ColorPalette.cs
- SystemWebExtensionsSectionGroup.cs
- RectAnimation.cs
- ServiceDiscoveryBehavior.cs
- WmlCalendarAdapter.cs
- TableRowGroup.cs
- SrgsNameValueTag.cs
- MultiByteCodec.cs
- RenderingEventArgs.cs
- ResourceIDHelper.cs
- DaylightTime.cs
- Helper.cs
- SafeEventLogReadHandle.cs
- XomlCompilerHelpers.cs
- ColumnResizeAdorner.cs
- XmlSerializerAssemblyAttribute.cs
- DoubleConverter.cs
- BufferedWebEventProvider.cs
- SQLByte.cs
- CompilationLock.cs
- IndependentlyAnimatedPropertyMetadata.cs
- Size.cs
- CursorConverter.cs
- ErrorFormatterPage.cs
- StringWriter.cs
- ComponentConverter.cs
- Pens.cs
- SHA384.cs
- documentsequencetextcontainer.cs
- XmlEntity.cs
- Panel.cs
- ObjectDataSourceFilteringEventArgs.cs
- ApplicationManager.cs
- SemaphoreFullException.cs
- OptimisticConcurrencyException.cs
- x509utils.cs
- ControlPersister.cs
- GridViewEditEventArgs.cs
- SetterBase.cs
- ValidationResult.cs
- Cursor.cs
- SymLanguageType.cs
- HTMLTextWriter.cs
- TextPatternIdentifiers.cs
- CapabilitiesPattern.cs
- ReflectionPermission.cs
- XmlDownloadManager.cs
- NamedPermissionSet.cs
- BindMarkupExtensionSerializer.cs
- KeyInterop.cs
- ObjectTypeMapping.cs
- CodeArrayCreateExpression.cs
- VectorCollection.cs
- wgx_sdk_version.cs
- LongMinMaxAggregationOperator.cs
- Highlights.cs
- RepeatEnumerable.cs