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
- MachineKeySection.cs
- TreeWalkHelper.cs
- MarginCollapsingState.cs
- Opcode.cs
- ConfigurationStrings.cs
- Attributes.cs
- ApplicationServiceManager.cs
- KeyTime.cs
- AlgoModule.cs
- ObjectItemAttributeAssemblyLoader.cs
- EventEntry.cs
- elementinformation.cs
- VirtualPathData.cs
- TagElement.cs
- FilteredAttributeCollection.cs
- PageStatePersister.cs
- Comparer.cs
- SchemaConstraints.cs
- OrderPreservingMergeHelper.cs
- ElementAction.cs
- TablePattern.cs
- MetafileHeaderWmf.cs
- TemplateXamlTreeBuilder.cs
- TableLayoutSettings.cs
- OneToOneMappingSerializer.cs
- FormatterServices.cs
- CharKeyFrameCollection.cs
- ComponentEditorPage.cs
- CodeSnippetExpression.cs
- QualifiedCellIdBoolean.cs
- DiagnosticEventProvider.cs
- HttpModulesSection.cs
- newinstructionaction.cs
- ResourcePermissionBaseEntry.cs
- ConfigXmlCDataSection.cs
- Popup.cs
- HttpCookiesSection.cs
- SqlGatherProducedAliases.cs
- BooleanKeyFrameCollection.cs
- MsmqOutputSessionChannel.cs
- CodeTypeDeclaration.cs
- DefaultValueTypeConverter.cs
- ItemAutomationPeer.cs
- SystemResources.cs
- webproxy.cs
- SqlGatherProducedAliases.cs
- DataStorage.cs
- ConstraintStruct.cs
- ThousandthOfEmRealPoints.cs
- Emitter.cs
- RemotingSurrogateSelector.cs
- ObjectDataSourceDisposingEventArgs.cs
- TextFindEngine.cs
- NgenServicingAttributes.cs
- TemplateNodeContextMenu.cs
- KnowledgeBase.cs
- RuntimeArgumentHandle.cs
- __ConsoleStream.cs
- SmtpFailedRecipientsException.cs
- BaseResourcesBuildProvider.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- FolderNameEditor.cs
- SplineKeyFrames.cs
- HtmlInputReset.cs
- ModuleBuilderData.cs
- InkPresenterAutomationPeer.cs
- ServiceManager.cs
- DecoderFallbackWithFailureFlag.cs
- TransactionManager.cs
- ReferenceService.cs
- InfoCardSchemas.cs
- PropertyGeneratedEventArgs.cs
- streamingZipPartStream.cs
- BigInt.cs
- ListItemCollection.cs
- DeclarativeCatalogPart.cs
- TagNameToTypeMapper.cs
- WebPartConnectionsCancelVerb.cs
- DesignerActionUIStateChangeEventArgs.cs
- SQLDecimal.cs
- WebPartCancelEventArgs.cs
- NativeMethods.cs
- ContextMenu.cs
- GridViewRowPresenter.cs
- ManifestResourceInfo.cs
- ObjectViewEntityCollectionData.cs
- InputScope.cs
- SetterBase.cs
- CurrentChangingEventManager.cs
- AuthenticationException.cs
- BuildManagerHost.cs
- BmpBitmapEncoder.cs
- ScriptManager.cs
- RichTextBox.cs
- ListControlConvertEventArgs.cs
- XPathNavigatorReader.cs
- EntryPointNotFoundException.cs
- SqlStream.cs
- XmlElementList.cs
- TcpAppDomainProtocolHandler.cs