Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerVerbCollection.cs / 1305376 / 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
- DSACryptoServiceProvider.cs
- Inflater.cs
- RegexCompilationInfo.cs
- HttpModule.cs
- VirtualizedContainerService.cs
- AttributeUsageAttribute.cs
- EncodingFallbackAwareXmlTextWriter.cs
- AffineTransform3D.cs
- BamlStream.cs
- ConfigUtil.cs
- EndpointInfo.cs
- AutomationElementIdentifiers.cs
- HtmlEmptyTagControlBuilder.cs
- ExpressionParser.cs
- SlipBehavior.cs
- CharAnimationUsingKeyFrames.cs
- ConfigurationStrings.cs
- DescendantBaseQuery.cs
- CustomWebEventKey.cs
- Lease.cs
- HttpListenerException.cs
- NativeActivityFaultContext.cs
- SingleObjectCollection.cs
- SiteMapDataSourceDesigner.cs
- Matrix.cs
- Unit.cs
- MethodSignatureGenerator.cs
- TextEditorCharacters.cs
- IgnoreFlushAndCloseStream.cs
- DataGridViewSortCompareEventArgs.cs
- Dump.cs
- XomlCompilerResults.cs
- SQLDouble.cs
- __ComObject.cs
- AvtEvent.cs
- DataPagerFieldItem.cs
- Table.cs
- ConvertEvent.cs
- WindowsFormsLinkLabel.cs
- RowsCopiedEventArgs.cs
- HttpModuleActionCollection.cs
- Exceptions.cs
- XslTransform.cs
- DataGridHyperlinkColumn.cs
- ClusterSafeNativeMethods.cs
- AsyncResult.cs
- EventNotify.cs
- BCLDebug.cs
- VBCodeProvider.cs
- TypeToken.cs
- WorkItem.cs
- MultiSelectRootGridEntry.cs
- SafeFileMapViewHandle.cs
- StaticFileHandler.cs
- ConfigurationLocationCollection.cs
- ContactManager.cs
- Cloud.cs
- GeometryDrawing.cs
- GridView.cs
- ComplexType.cs
- AttachInfo.cs
- RunClient.cs
- GridViewCommandEventArgs.cs
- EntityDataSourceUtil.cs
- AstTree.cs
- BasicDesignerLoader.cs
- Nodes.cs
- SchemaCollectionCompiler.cs
- NotImplementedException.cs
- MessageVersion.cs
- EntityWrapperFactory.cs
- EntityModelSchemaGenerator.cs
- RegexInterpreter.cs
- HttpProfileBase.cs
- ping.cs
- AccessorTable.cs
- DataObjectPastingEventArgs.cs
- Set.cs
- ToolBarPanel.cs
- RunWorkerCompletedEventArgs.cs
- TdsParameterSetter.cs
- TimelineClockCollection.cs
- DataGridViewColumnConverter.cs
- EntityDataSourceViewSchema.cs
- DesignerForm.cs
- DataServiceHostFactory.cs
- EncryptedPackage.cs
- DataGridViewCheckBoxCell.cs
- RuntimeHelpers.cs
- TextTreeExtractElementUndoUnit.cs
- PingOptions.cs
- HttpsTransportElement.cs
- GeneralTransformGroup.cs
- ReferencedType.cs
- DataChangedEventManager.cs
- TiffBitmapDecoder.cs
- CorrelationHandle.cs
- AttributeXamlType.cs
- JsonSerializer.cs
- DBProviderConfigurationHandler.cs