Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ListBindingConverter.cs
- XmlSchemaAll.cs
- Metadata.cs
- ScriptReference.cs
- MergePropertyDescriptor.cs
- PointCollectionConverter.cs
- DBParameter.cs
- SystemIcmpV4Statistics.cs
- Frame.cs
- UnsignedPublishLicense.cs
- QuadraticBezierSegment.cs
- LocationUpdates.cs
- ServicesUtilities.cs
- RewritingPass.cs
- VirtualizingPanel.cs
- FontFamily.cs
- DbSetClause.cs
- RectangleConverter.cs
- DoubleUtil.cs
- NavigationWindow.cs
- MemoryFailPoint.cs
- ActivationServices.cs
- Inflater.cs
- BigInt.cs
- HtmlInputSubmit.cs
- FastEncoder.cs
- ScrollEventArgs.cs
- ObjectViewFactory.cs
- ItemList.cs
- AnnotationStore.cs
- XmlDataLoader.cs
- DesignerDataParameter.cs
- AutoScrollHelper.cs
- OleDbCommand.cs
- ProviderMetadataCachedInformation.cs
- CompilerParameters.cs
- FocusWithinProperty.cs
- BooleanProjectedSlot.cs
- CustomAttribute.cs
- Error.cs
- LoadWorkflowByInstanceKeyCommand.cs
- BitmapFrameDecode.cs
- DoubleLinkListEnumerator.cs
- ValidationPropertyAttribute.cs
- CultureSpecificStringDictionary.cs
- MdImport.cs
- HttpModulesInstallComponent.cs
- HtmlTernaryTree.cs
- DataStreams.cs
- MsmqInputChannel.cs
- FormsAuthenticationUser.cs
- Soap.cs
- DocumentPage.cs
- PropertyChangedEventArgs.cs
- Int32CollectionConverter.cs
- ClientApiGenerator.cs
- OletxTransactionManager.cs
- AliasedSlot.cs
- Graph.cs
- IndexedDataBuffer.cs
- DependencyPropertyKey.cs
- UnsafeNativeMethods.cs
- FixedSOMLineCollection.cs
- ContactManager.cs
- Delegate.cs
- SystemException.cs
- SubpageParaClient.cs
- AuthenticationModulesSection.cs
- ValidationHelper.cs
- SqlInternalConnectionSmi.cs
- CodeAttachEventStatement.cs
- DurableInstanceProvider.cs
- FreezableDefaultValueFactory.cs
- StorageEndPropertyMapping.cs
- Context.cs
- TimelineCollection.cs
- SafeUserTokenHandle.cs
- DefaultObjectMappingItemCollection.cs
- ProjectionAnalyzer.cs
- Boolean.cs
- IRCollection.cs
- InvariantComparer.cs
- ClientFactory.cs
- WorkflowDesigner.cs
- BitmapFrame.cs
- InputDevice.cs
- StorageScalarPropertyMapping.cs
- BasicCellRelation.cs
- Attribute.cs
- EditingMode.cs
- StructuredTypeEmitter.cs
- ComponentCollection.cs
- XmlSchemaInclude.cs
- BasePropertyDescriptor.cs
- HasCopySemanticsAttribute.cs
- ConstantSlot.cs
- WmlControlAdapter.cs
- ReadOnlyPropertyMetadata.cs
- EventLogger.cs
- EdmItemError.cs