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
- FileLevelControlBuilderAttribute.cs
- CompilerErrorCollection.cs
- CanonicalFontFamilyReference.cs
- WebServiceResponseDesigner.cs
- XmlSchemaType.cs
- TextSelectionHelper.cs
- FileStream.cs
- UIntPtr.cs
- FrameworkPropertyMetadata.cs
- GeometryDrawing.cs
- WindowsListViewItemCheckBox.cs
- XmlSchemaSimpleType.cs
- Visual3D.cs
- LoadedOrUnloadedOperation.cs
- InvalidComObjectException.cs
- SchemaNames.cs
- ReturnType.cs
- ActionNotSupportedException.cs
- CompiledXpathExpr.cs
- XmlDataProvider.cs
- CompositeControlDesigner.cs
- WsdlHelpGeneratorElement.cs
- TypePresenter.xaml.cs
- LabelLiteral.cs
- PasswordTextContainer.cs
- XomlSerializationHelpers.cs
- ProfessionalColorTable.cs
- Asn1IntegerConverter.cs
- TypographyProperties.cs
- ColumnReorderedEventArgs.cs
- IsolatedStoragePermission.cs
- PeerNameRecordCollection.cs
- IndexerNameAttribute.cs
- WpfKnownMemberInvoker.cs
- Buffer.cs
- Int16Animation.cs
- DocComment.cs
- RegexGroup.cs
- DriveInfo.cs
- CheckBoxField.cs
- HandlerMappingMemo.cs
- HtmlTitle.cs
- TabPage.cs
- CollectionViewSource.cs
- SegmentTree.cs
- SecurityTokenAttachmentMode.cs
- StreamGeometry.cs
- RijndaelManagedTransform.cs
- ValidationEventArgs.cs
- TimeSpanHelper.cs
- SignatureDescription.cs
- SettingsProviderCollection.cs
- WaitForChangedResult.cs
- TextOnlyOutput.cs
- OleDbDataAdapter.cs
- TraceSection.cs
- Model3DCollection.cs
- EnterpriseServicesHelper.cs
- Inline.cs
- CodeTypeParameterCollection.cs
- TreeBuilderBamlTranslator.cs
- XmlValidatingReaderImpl.cs
- NonVisualControlAttribute.cs
- ActiveDocumentEvent.cs
- CounterCreationDataCollection.cs
- PropertyGridEditorPart.cs
- WindowAutomationPeer.cs
- Utilities.cs
- WindowsComboBox.cs
- Endpoint.cs
- TransformedBitmap.cs
- ContextMenuStripActionList.cs
- SmiRecordBuffer.cs
- ServicePerformanceCounters.cs
- SafeRightsManagementEnvironmentHandle.cs
- RowUpdatedEventArgs.cs
- HttpCookie.cs
- ToolBarOverflowPanel.cs
- ArglessEventHandlerProxy.cs
- ListViewDeletedEventArgs.cs
- DebuggerAttributes.cs
- ApplicationId.cs
- Rss20ItemFormatter.cs
- EntityDataSourceColumn.cs
- TextSelectionHelper.cs
- DataServiceQueryContinuation.cs
- PersonalizationProvider.cs
- BooleanSwitch.cs
- ObjectListDataBindEventArgs.cs
- ToolStripDropDownDesigner.cs
- Nullable.cs
- Reference.cs
- mediapermission.cs
- DeploymentExceptionMapper.cs
- ReadOnlyDataSource.cs
- SortDescriptionCollection.cs
- TextDecorationLocationValidation.cs
- CompareInfo.cs
- PropertyMetadata.cs
- SqlDataSource.cs