Code:
/ DotNET / DotNET / 8.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
- UnsafeNativeMethods.cs
- ItemDragEvent.cs
- BoundPropertyEntry.cs
- ContentType.cs
- PropertyValidationContext.cs
- AstTree.cs
- PropertyTabChangedEvent.cs
- RuntimeResourceSet.cs
- VirtualPath.cs
- KeyToListMap.cs
- odbcmetadatacolumnnames.cs
- DrawListViewSubItemEventArgs.cs
- PagesChangedEventArgs.cs
- VisualStyleInformation.cs
- TextRange.cs
- AlternateViewCollection.cs
- ActivationServices.cs
- UIElement3DAutomationPeer.cs
- Condition.cs
- SqlCommandBuilder.cs
- CookieParameter.cs
- TransactionChannelFactory.cs
- RangeValuePattern.cs
- ErrorFormatter.cs
- WmlListAdapter.cs
- TransformPattern.cs
- ObjectDataSourceFilteringEventArgs.cs
- DispatcherTimer.cs
- Vector3DKeyFrameCollection.cs
- FileEnumerator.cs
- HttpDigestClientElement.cs
- TextElementEditingBehaviorAttribute.cs
- DataSourceControl.cs
- OutputCacheProfile.cs
- VBCodeProvider.cs
- EntityDataSourceEntitySetNameItem.cs
- LeafCellTreeNode.cs
- DeclarationUpdate.cs
- While.cs
- BaseEntityWrapper.cs
- GridViewRow.cs
- OptimizedTemplateContent.cs
- NamedPipeTransportSecurity.cs
- CodeDefaultValueExpression.cs
- LassoHelper.cs
- ObjectDataSourceChooseMethodsPanel.cs
- SmtpReplyReaderFactory.cs
- XmlStringTable.cs
- SchemaMapping.cs
- BooleanKeyFrameCollection.cs
- Renderer.cs
- TextClipboardData.cs
- RIPEMD160Managed.cs
- CompilerGlobalScopeAttribute.cs
- DateTimePicker.cs
- ExtensionQuery.cs
- RepeaterItemEventArgs.cs
- SafeRegistryHandle.cs
- RepeatBehavior.cs
- CustomPopupPlacement.cs
- PartitionedDataSource.cs
- ipaddressinformationcollection.cs
- UnsafeNativeMethods.cs
- WebScriptServiceHostFactory.cs
- DefaultPropertyAttribute.cs
- DataTable.cs
- TextBox.cs
- OutputCache.cs
- ReadOnlyMetadataCollection.cs
- EntitySqlQueryCacheEntry.cs
- CngKey.cs
- OutputCacheModule.cs
- QueryStringHandler.cs
- VarRefManager.cs
- UpdateTranslator.cs
- Policy.cs
- SessionStateItemCollection.cs
- Action.cs
- SortAction.cs
- TreeNode.cs
- sqlcontext.cs
- DataTableCollection.cs
- CollectionBase.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- SqlUtils.cs
- DataObjectCopyingEventArgs.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- _StreamFramer.cs
- GeometryDrawing.cs
- ScriptingRoleServiceSection.cs
- DesignerRegionMouseEventArgs.cs
- Permission.cs
- ByteKeyFrameCollection.cs
- MatrixStack.cs
- UnsafeNativeMethods.cs
- Utilities.cs
- NamedObject.cs
- MessageSecurityOverMsmq.cs
- HMACSHA1.cs
- ZipIOExtraFieldPaddingElement.cs