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
- Table.cs
- AppSecurityManager.cs
- FlowLayoutPanel.cs
- AnimationStorage.cs
- GifBitmapDecoder.cs
- DbBuffer.cs
- EmptyEnumerator.cs
- rsa.cs
- AspCompat.cs
- Vector3DAnimation.cs
- DebuggerAttributes.cs
- IgnoreSectionHandler.cs
- XmlDataCollection.cs
- CompatibleIComparer.cs
- UnsafeNativeMethodsCLR.cs
- HttpHandlerActionCollection.cs
- MiniParameterInfo.cs
- COM2Enum.cs
- HttpMethodAttribute.cs
- TextWriterEngine.cs
- AtomMaterializerLog.cs
- Pointer.cs
- PartManifestEntry.cs
- ImageFormatConverter.cs
- HtmlGenericControl.cs
- updateconfighost.cs
- ModifierKeysValueSerializer.cs
- ConfigXmlAttribute.cs
- DataBoundControlActionList.cs
- BehaviorDragDropEventArgs.cs
- SerialPort.cs
- SchemaImporterExtensionElementCollection.cs
- XPathCompileException.cs
- PeerPresenceInfo.cs
- SelectionEditor.cs
- TableParagraph.cs
- WindowsPen.cs
- TextDecorationLocationValidation.cs
- SingleSelectRootGridEntry.cs
- HttpWebRequest.cs
- Model3DGroup.cs
- BamlTreeMap.cs
- SoapReflectionImporter.cs
- SelectorAutomationPeer.cs
- UrlMapping.cs
- TextCompositionEventArgs.cs
- DataMemberConverter.cs
- VsPropertyGrid.cs
- ScriptBehaviorDescriptor.cs
- SortedDictionary.cs
- UTF7Encoding.cs
- SqlDataSourceCache.cs
- TypeConverterHelper.cs
- ConnectionStringsExpressionBuilder.cs
- Dump.cs
- ExpressionVisitorHelpers.cs
- ControlFilterExpression.cs
- OperationPickerDialog.cs
- OciHandle.cs
- SQLDateTimeStorage.cs
- TemplateControlParser.cs
- HostedTcpTransportManager.cs
- EntityProxyFactory.cs
- BinaryNode.cs
- ByteAnimationUsingKeyFrames.cs
- ConfigurationManagerInternalFactory.cs
- EventWaitHandleSecurity.cs
- EntityCommand.cs
- PageAsyncTaskManager.cs
- DoneReceivingAsyncResult.cs
- DuplexChannelBinder.cs
- SimpleColumnProvider.cs
- MetricEntry.cs
- DbConnectionPoolOptions.cs
- SafeArrayTypeMismatchException.cs
- PtsPage.cs
- DataGridViewRowStateChangedEventArgs.cs
- AuthenticatedStream.cs
- IgnoreSection.cs
- WmlMobileTextWriter.cs
- SignatureHelper.cs
- precedingquery.cs
- EdmFunctionAttribute.cs
- TimeoutValidationAttribute.cs
- DataGridViewCellStyleConverter.cs
- SortedDictionary.cs
- PageVisual.cs
- webproxy.cs
- RuntimeWrappedException.cs
- WebPartDisplayModeCancelEventArgs.cs
- Int32KeyFrameCollection.cs
- SqlInternalConnectionSmi.cs
- WFItemsToSpacerVisibility.cs
- CanonicalFormWriter.cs
- DataGridViewComboBoxEditingControl.cs
- StagingAreaInputItem.cs
- TableDetailsRow.cs
- CodeTypeReference.cs
- IChannel.cs
- AssemblyUtil.cs