Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsEventArgs.cs / 1 / WebPartConnectionsEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class WebPartConnectionsEventArgs : EventArgs { private WebPart _provider; private ProviderConnectionPoint _providerConnectionPoint; private WebPart _consumer; private ConsumerConnectionPoint _consumerConnectionPoint; private WebPartConnection _connection; public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint) { // Arguments may be null, when deleting a connection because a part is no longer on the page _provider = provider; _providerConnectionPoint = providerConnectionPoint; _consumer = consumer; _consumerConnectionPoint = consumerConnectionPoint; } public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, WebPartConnection connection) : this(provider, providerConnectionPoint, consumer, consumerConnectionPoint) { _connection = connection; } public WebPartConnection Connection { get { return _connection; } } public WebPart Consumer { get { return _consumer; } } public ConsumerConnectionPoint ConsumerConnectionPoint { get { return _consumerConnectionPoint; } } public WebPart Provider { get { return _provider; } } public ProviderConnectionPoint ProviderConnectionPoint { get { return _providerConnectionPoint; } } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeRegistryKey.cs
- ListenUriMode.cs
- EmptyQuery.cs
- NativeWindow.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- XPathMessageFilterElementCollection.cs
- SmtpFailedRecipientException.cs
- Slider.cs
- XmlElementCollection.cs
- SByte.cs
- TextRangeAdaptor.cs
- TypefaceMetricsCache.cs
- HwndAppCommandInputProvider.cs
- GridItemPatternIdentifiers.cs
- PersonalizationProvider.cs
- TextChange.cs
- SecuritySessionServerSettings.cs
- SingleTagSectionHandler.cs
- Pair.cs
- UInt32Converter.cs
- PixelFormats.cs
- MSAANativeProvider.cs
- OdbcDataAdapter.cs
- DesignerVerbToolStripMenuItem.cs
- CodeAccessPermission.cs
- GroupBoxAutomationPeer.cs
- SystemWebSectionGroup.cs
- TextTreeInsertElementUndoUnit.cs
- ObjectHandle.cs
- DecoderReplacementFallback.cs
- DefaultWorkflowSchedulerService.cs
- DataColumnMappingCollection.cs
- RegexWriter.cs
- BinaryObjectInfo.cs
- NumericExpr.cs
- QueryResult.cs
- EntityObject.cs
- TdsParserStateObject.cs
- CellTreeNodeVisitors.cs
- EntitySetDataBindingList.cs
- XmlDocumentFieldSchema.cs
- HandledEventArgs.cs
- ColorDialog.cs
- ServiceOperationListItem.cs
- DecoderFallback.cs
- DbProviderSpecificTypePropertyAttribute.cs
- sqlpipe.cs
- SortAction.cs
- webproxy.cs
- ClaimTypeElementCollection.cs
- ParserExtension.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- _BaseOverlappedAsyncResult.cs
- sqlser.cs
- ConnectionConsumerAttribute.cs
- ManagedIStream.cs
- XNodeValidator.cs
- HighlightVisual.cs
- GridPattern.cs
- ActivityContext.cs
- WebPartRestoreVerb.cs
- ChannelBinding.cs
- FreezableCollection.cs
- MonthCalendarDesigner.cs
- COAUTHIDENTITY.cs
- SqlServer2KCompatibilityAnnotation.cs
- ModulesEntry.cs
- Camera.cs
- CalendarButtonAutomationPeer.cs
- EventDescriptorCollection.cs
- Floater.cs
- MutexSecurity.cs
- ClientSponsor.cs
- HttpClientCertificate.cs
- GlobalizationSection.cs
- SQlBooleanStorage.cs
- LoginCancelEventArgs.cs
- EntityDataReader.cs
- TypeResolvingOptions.cs
- Exceptions.cs
- ContextCorrelationInitializer.cs
- CapabilitiesUse.cs
- CodeParameterDeclarationExpressionCollection.cs
- TextSchema.cs
- TextCharacters.cs
- NotifyIcon.cs
- precedingsibling.cs
- ChangeNode.cs
- TimeZone.cs
- LocalizedNameDescriptionPair.cs
- TabPageDesigner.cs
- __ConsoleStream.cs
- translator.cs
- DragDeltaEventArgs.cs
- OpenCollectionAsyncResult.cs
- TableAutomationPeer.cs
- GeneralTransform.cs
- SettingsPropertyValue.cs
- BamlRecordWriter.cs
- SortedList.cs