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
- RelationshipWrapper.cs
- ControlAdapter.cs
- SpecialNameAttribute.cs
- RowToParametersTransformer.cs
- DataSvcMapFileSerializer.cs
- RegexRunner.cs
- DragEventArgs.cs
- QuaternionConverter.cs
- TextShapeableCharacters.cs
- StringAnimationBase.cs
- PartialArray.cs
- CodeTypeParameterCollection.cs
- FontUnit.cs
- QuotedStringFormatReader.cs
- RecognizerStateChangedEventArgs.cs
- StructuredTypeInfo.cs
- ReflectEventDescriptor.cs
- Constraint.cs
- ZipIOModeEnforcingStream.cs
- Calendar.cs
- BitmapImage.cs
- PointAnimationClockResource.cs
- ProgressBarRenderer.cs
- StaticFileHandler.cs
- PermissionToken.cs
- Int64.cs
- PropertyPathConverter.cs
- documentation.cs
- UpdateDelegates.Generated.cs
- SoapSchemaExporter.cs
- CodeSubDirectoriesCollection.cs
- WsdlBuildProvider.cs
- AuthorizationRuleCollection.cs
- sqlmetadatafactory.cs
- XmlElement.cs
- Rules.cs
- DataGridViewToolTip.cs
- DataSourceSelectArguments.cs
- ValidatingPropertiesEventArgs.cs
- TypeConverterValueSerializer.cs
- WebServiceHost.cs
- PenContext.cs
- HttpDebugHandler.cs
- FixedNode.cs
- TagPrefixAttribute.cs
- UInt16Storage.cs
- DbProviderFactories.cs
- MouseButtonEventArgs.cs
- JumpPath.cs
- WindowsAuthenticationModule.cs
- SerializationFieldInfo.cs
- QueryAccessibilityHelpEvent.cs
- TripleDES.cs
- WindowCollection.cs
- TargetPerspective.cs
- ArrayExtension.cs
- EventTrigger.cs
- TextDecorationCollection.cs
- ServiceMetadataExtension.cs
- BaseServiceProvider.cs
- StylusPointDescription.cs
- StandardToolWindows.cs
- FormatSettings.cs
- _SslState.cs
- DataPagerFieldItem.cs
- CellLabel.cs
- PageThemeCodeDomTreeGenerator.cs
- DesignTableCollection.cs
- SchemaNames.cs
- DesignerCommandAdapter.cs
- DocumentDesigner.cs
- GCHandleCookieTable.cs
- XmlUnspecifiedAttribute.cs
- WorkerRequest.cs
- SafeFindHandle.cs
- RemoteCryptoDecryptRequest.cs
- VectorCollectionConverter.cs
- ConfigErrorGlyph.cs
- PersonalizationProviderHelper.cs
- sqlser.cs
- CommentGlyph.cs
- BuildProviderAppliesToAttribute.cs
- SmtpReplyReaderFactory.cs
- ExpressionBuilder.cs
- StateElementCollection.cs
- XmlElementList.cs
- PersonalizationStateInfo.cs
- SqlCaseSimplifier.cs
- MinimizableAttributeTypeConverter.cs
- MediaEntryAttribute.cs
- Win32Native.cs
- DocumentsTrace.cs
- PerformanceCounterPermissionEntry.cs
- DateTimeParse.cs
- IntranetCredentialPolicy.cs
- GridViewRow.cs
- ColorMatrix.cs
- ZipIOExtraFieldElement.cs
- ArcSegment.cs
- Crc32.cs