Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Toolbox / ToolCreatedEventArgs.cs / 1305376 / ToolCreatedEventArgs.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Activities.Presentation.Toolbox { using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Runtime; using System.Windows; // This class represents event arguments for tool created event [Fx.Tag.XamlVisible(false)] public sealed class ToolCreatedEventArgs : RoutedEventArgs { IComponent[] components; internal ToolCreatedEventArgs(RoutedEvent eventName, object sender, IComponent[] components) : base(eventName, sender) { this.components = components; } [SuppressMessage(FxCop.Category.Performance, "CA1819:PropertiesShouldNotReturnArrays", Justification = "Array type property does not clone the array in the getter. It references the same array instance.")] public IComponent[] Components { get { return this.components; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Activities.Presentation.Toolbox { using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Runtime; using System.Windows; // This class represents event arguments for tool created event [Fx.Tag.XamlVisible(false)] public sealed class ToolCreatedEventArgs : RoutedEventArgs { IComponent[] components; internal ToolCreatedEventArgs(RoutedEvent eventName, object sender, IComponent[] components) : base(eventName, sender) { this.components = components; } [SuppressMessage(FxCop.Category.Performance, "CA1819:PropertiesShouldNotReturnArrays", Justification = "Array type property does not clone the array in the getter. It references the same array instance.")] public IComponent[] Components { get { return this.components; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridViewDeleteEventArgs.cs
- ProcessingInstructionAction.cs
- CharacterMetricsDictionary.cs
- ResolvedKeyFrameEntry.cs
- Operator.cs
- EncoderNLS.cs
- ParseHttpDate.cs
- MarshalDirectiveException.cs
- DataServiceException.cs
- Size.cs
- If.cs
- InternalConfigHost.cs
- XmlSchemaComplexContentExtension.cs
- TraceLevelStore.cs
- CodeDefaultValueExpression.cs
- ToolboxControl.cs
- SystemIPv6InterfaceProperties.cs
- TableFieldsEditor.cs
- StrongNameUtility.cs
- OracleDataAdapter.cs
- HtmlEncodedRawTextWriter.cs
- PrintingPermissionAttribute.cs
- OleDbFactory.cs
- CompoundFileStorageReference.cs
- PersonalizationProvider.cs
- TemplateKeyConverter.cs
- TextInfo.cs
- BaseTemplateBuildProvider.cs
- ReadOnlyObservableCollection.cs
- ApplicationCommands.cs
- TcpTransportBindingElement.cs
- UpdateException.cs
- PropertyGridEditorPart.cs
- uribuilder.cs
- PageTextBox.cs
- EffectiveValueEntry.cs
- CustomErrorsSectionWrapper.cs
- SelectionGlyph.cs
- PartManifestEntry.cs
- CompiledIdentityConstraint.cs
- SymbolTable.cs
- InternalRelationshipCollection.cs
- FontWeights.cs
- SqlProfileProvider.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DefaultDialogButtons.cs
- XmlMembersMapping.cs
- WindowsScroll.cs
- OleDbDataReader.cs
- HttpResponseInternalBase.cs
- StyleModeStack.cs
- Span.cs
- coordinatorscratchpad.cs
- WindowInteropHelper.cs
- TabPage.cs
- X509ChainElement.cs
- DispatcherTimer.cs
- ConnectAlgorithms.cs
- ImageClickEventArgs.cs
- UnmanagedMemoryStream.cs
- DependencyObject.cs
- TextBoxAutoCompleteSourceConverter.cs
- ItemsControlAutomationPeer.cs
- FormsAuthenticationModule.cs
- VirtualPathUtility.cs
- CodeDOMUtility.cs
- RepeatButtonAutomationPeer.cs
- TextEmbeddedObject.cs
- RuntimeHelpers.cs
- MediaPlayerState.cs
- DATA_BLOB.cs
- SiteMapNode.cs
- HostingEnvironmentSection.cs
- RouteItem.cs
- StringValidatorAttribute.cs
- RuntimeVariablesExpression.cs
- IItemContainerGenerator.cs
- ILGenerator.cs
- DataBindingExpressionBuilder.cs
- DocumentOutline.cs
- CompressEmulationStream.cs
- TabItemWrapperAutomationPeer.cs
- GeneralTransform.cs
- BufferAllocator.cs
- SimpleType.cs
- PropagatorResult.cs
- CapabilitiesPattern.cs
- ConnectionStringEditor.cs
- ProcessModule.cs
- CodeActivityContext.cs
- WebPartMinimizeVerb.cs
- VisualStyleElement.cs
- PropertyContainer.cs
- ReferenceConverter.cs
- SafeRightsManagementPubHandle.cs
- SessionEndedEventArgs.cs
- MulticastOption.cs
- ErrorStyle.cs
- TimeoutException.cs
- InkCanvasAutomationPeer.cs