Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WebPartMenuStyle.cs
- FrameworkTemplate.cs
- DataGridCellItemAutomationPeer.cs
- SendDesigner.xaml.cs
- PeerChannelFactory.cs
- ConstNode.cs
- CachedBitmap.cs
- GridLength.cs
- XamlLoadErrorInfo.cs
- MemberAccessException.cs
- CompositeControl.cs
- NotSupportedException.cs
- StaticFileHandler.cs
- UnaryNode.cs
- AutomationPattern.cs
- UiaCoreApi.cs
- ActivityExecutionWorkItem.cs
- TextSerializer.cs
- TextEditorDragDrop.cs
- RequestQueue.cs
- ObjectListGeneralPage.cs
- BaseAddressPrefixFilterElement.cs
- SignerInfo.cs
- EdmSchemaAttribute.cs
- PathGeometry.cs
- ResourceContainer.cs
- CaseStatement.cs
- DoubleAnimationUsingPath.cs
- _LocalDataStore.cs
- ScriptControl.cs
- QueryCacheKey.cs
- SQLBytesStorage.cs
- Point3DAnimationBase.cs
- ModelItem.cs
- RequestCache.cs
- EntityTemplateFactory.cs
- SchemaImporterExtensionElement.cs
- ScrollEventArgs.cs
- PermissionRequestEvidence.cs
- Scene3D.cs
- ParallelTimeline.cs
- AbandonedMutexException.cs
- SmtpReplyReaderFactory.cs
- InfiniteTimeSpanConverter.cs
- ManualResetEvent.cs
- CachedCompositeFamily.cs
- TypeExtension.cs
- IResourceProvider.cs
- XPathAxisIterator.cs
- RepeatButton.cs
- WebPartTransformer.cs
- IApplicationTrustManager.cs
- ConfigurationProperty.cs
- FileChangesMonitor.cs
- HttpConfigurationSystem.cs
- XmlSchemaSimpleTypeUnion.cs
- TextEditorCopyPaste.cs
- TextPointer.cs
- InstanceLockLostException.cs
- MimeTypePropertyAttribute.cs
- BuildProvidersCompiler.cs
- SBCSCodePageEncoding.cs
- JsonServiceDocumentSerializer.cs
- BinaryCommonClasses.cs
- ImpersonateTokenRef.cs
- SqlProvider.cs
- SqlDataSourceQuery.cs
- ModifierKeysConverter.cs
- DriveInfo.cs
- returneventsaver.cs
- EncryptedType.cs
- WmlCommandAdapter.cs
- PartBasedPackageProperties.cs
- _Rfc2616CacheValidators.cs
- SqlUtil.cs
- ToggleProviderWrapper.cs
- ImageIndexConverter.cs
- uribuilder.cs
- __TransparentProxy.cs
- PackWebResponse.cs
- Win32SafeHandles.cs
- SolidColorBrush.cs
- WebReferencesBuildProvider.cs
- Transform.cs
- ZipArchive.cs
- AttachedAnnotation.cs
- CurrentTimeZone.cs
- SingleObjectCollection.cs
- LogSwitch.cs
- URLAttribute.cs
- ApplicationServiceManager.cs
- WebPartEditorCancelVerb.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ArglessEventHandlerProxy.cs
- XamlFilter.cs
- FileReader.cs
- ColumnReorderedEventArgs.cs
- ContentElement.cs
- TemplateFactory.cs
- ContractsBCL.cs