Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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!"); } } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpConfigurationSystem.cs
- LayoutEditorPart.cs
- DataViewListener.cs
- FirstMatchCodeGroup.cs
- CryptoStream.cs
- ExceptionValidationRule.cs
- EdmPropertyAttribute.cs
- SpeakCompletedEventArgs.cs
- ADMembershipUser.cs
- HtmlWindowCollection.cs
- AppDomainUnloadedException.cs
- XmlCDATASection.cs
- FieldBuilder.cs
- XmlAnyAttributeAttribute.cs
- Typeface.cs
- GridItemProviderWrapper.cs
- SharedConnectionInfo.cs
- BinHexEncoder.cs
- XmlReader.cs
- Dynamic.cs
- SpeechUI.cs
- ValueConversionAttribute.cs
- UnauthorizedAccessException.cs
- PointAnimationUsingKeyFrames.cs
- MessageEncoderFactory.cs
- HostingPreferredMapPath.cs
- Parsers.cs
- EntityCommandCompilationException.cs
- XmlWriterSettings.cs
- Utility.cs
- ColorContext.cs
- RunWorkerCompletedEventArgs.cs
- FrameworkContentElement.cs
- Point4D.cs
- PackageStore.cs
- Calendar.cs
- Span.cs
- RoutingBehavior.cs
- MethodCallConverter.cs
- TransformerTypeCollection.cs
- Math.cs
- DataChangedEventManager.cs
- ElementHostPropertyMap.cs
- DataBoundLiteralControl.cs
- BitmapMetadataEnumerator.cs
- MarshalByValueComponent.cs
- TextDecorations.cs
- Assembly.cs
- SqlParameter.cs
- ProcessInfo.cs
- ManifestSignatureInformation.cs
- RepeatButton.cs
- ConfigurationSection.cs
- ProfilePropertySettingsCollection.cs
- CacheEntry.cs
- NamespaceDecl.cs
- XmlSignificantWhitespace.cs
- DaylightTime.cs
- ParameterCollection.cs
- Documentation.cs
- ADConnectionHelper.cs
- ThrowOnMultipleAssignment.cs
- XsltArgumentList.cs
- MethodAccessException.cs
- WebPartsSection.cs
- DBSqlParser.cs
- EmptyImpersonationContext.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- RuntimeVariablesExpression.cs
- NavigationCommands.cs
- LayoutDump.cs
- NamedPipeTransportSecurityElement.cs
- IsolatedStorageException.cs
- StylusTip.cs
- AxisAngleRotation3D.cs
- VScrollProperties.cs
- IODescriptionAttribute.cs
- Root.cs
- ManifestResourceInfo.cs
- SoapMessage.cs
- TimerElapsedEvenArgs.cs
- WebRequestModuleElement.cs
- EventPropertyMap.cs
- ConstructorNeedsTagAttribute.cs
- HttpListenerContext.cs
- safesecurityhelperavalon.cs
- WebPartEditorOkVerb.cs
- DeclaredTypeValidator.cs
- BasicExpressionVisitor.cs
- IdnMapping.cs
- SystemDropShadowChrome.cs
- Helpers.cs
- BamlRecordReader.cs
- StylusPoint.cs
- IdentifierCollection.cs
- WebPartEditVerb.cs
- TableCellCollection.cs
- MouseEventArgs.cs
- ResourceDescriptionAttribute.cs
- AbstractSvcMapFileLoader.cs