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
- TextReader.cs
- ExtenderControl.cs
- LazyTextWriterCreator.cs
- ToolStripItem.cs
- entityreference_tresulttype.cs
- DateTime.cs
- ILGenerator.cs
- BinaryReader.cs
- _AuthenticationState.cs
- WindowShowOrOpenTracker.cs
- HttpRuntimeSection.cs
- SqlEnums.cs
- JoinCqlBlock.cs
- StateManagedCollection.cs
- AssemblyCacheEntry.cs
- PlaceHolder.cs
- ApplicationActivator.cs
- ScrollPattern.cs
- ActivityBuilderHelper.cs
- ToolStripProgressBar.cs
- SingletonChannelAcceptor.cs
- ListItemCollection.cs
- DiffuseMaterial.cs
- SqlServer2KCompatibilityAnnotation.cs
- QilTypeChecker.cs
- InputScopeAttribute.cs
- BadImageFormatException.cs
- FromRequest.cs
- EventManager.cs
- TextEffect.cs
- WindowsTooltip.cs
- NavigationHelper.cs
- ThreadExceptionEvent.cs
- OutputScope.cs
- SqlResolver.cs
- mediaclock.cs
- MatrixCamera.cs
- TextComposition.cs
- DataSvcMapFileSerializer.cs
- Vector.cs
- _ListenerResponseStream.cs
- WebCategoryAttribute.cs
- TextRenderer.cs
- DockingAttribute.cs
- ResourceDisplayNameAttribute.cs
- FontStretchConverter.cs
- StartFileNameEditor.cs
- RotateTransform3D.cs
- SweepDirectionValidation.cs
- CommonDialog.cs
- XmlElementList.cs
- UnsafeNativeMethodsPenimc.cs
- PathGeometry.cs
- UshortList2.cs
- BitmapEffectInputConnector.cs
- BitmapEffectDrawingContent.cs
- ImmutableCollection.cs
- LinkUtilities.cs
- ToolboxDataAttribute.cs
- TdsRecordBufferSetter.cs
- TextModifierScope.cs
- ObjectHelper.cs
- OdbcEnvironment.cs
- ComponentSerializationService.cs
- SqlAliasesReferenced.cs
- ParseHttpDate.cs
- EventMappingSettings.cs
- RegisteredDisposeScript.cs
- FtpRequestCacheValidator.cs
- HttpServerVarsCollection.cs
- CancelRequestedQuery.cs
- DataKeyPropertyAttribute.cs
- ListDictionaryInternal.cs
- SrgsElementFactory.cs
- RefreshEventArgs.cs
- Stack.cs
- ServiceModelConfigurationSectionGroup.cs
- QuinticEase.cs
- SHA1CryptoServiceProvider.cs
- LambdaReference.cs
- ComponentDispatcher.cs
- coordinatorfactory.cs
- XmlLanguage.cs
- TextProviderWrapper.cs
- UserPersonalizationStateInfo.cs
- NonParentingControl.cs
- BrowserDefinitionCollection.cs
- _Connection.cs
- HttpInputStream.cs
- MetafileHeader.cs
- TableRow.cs
- TripleDES.cs
- RenderData.cs
- AnnotationComponentManager.cs
- SqlGatherProducedAliases.cs
- TimeoutValidationAttribute.cs
- Stackframe.cs
- PointCollection.cs
- _CacheStreams.cs
- TaskResultSetter.cs