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
- HotCommands.cs
- SafeLibraryHandle.cs
- BinaryObjectReader.cs
- InheritablePropertyChangeInfo.cs
- WmpBitmapDecoder.cs
- DataServiceKeyAttribute.cs
- XmlFormatMapping.cs
- AuthenticationConfig.cs
- TextEditorMouse.cs
- StateBag.cs
- DataGridViewSelectedRowCollection.cs
- Camera.cs
- DataGridViewCellFormattingEventArgs.cs
- StringDictionaryCodeDomSerializer.cs
- RowToFieldTransformer.cs
- DesignerEditorPartChrome.cs
- ReadingWritingEntityEventArgs.cs
- RIPEMD160.cs
- dsa.cs
- HwndTarget.cs
- XamlDebuggerXmlReader.cs
- WebPartConnection.cs
- WebEvents.cs
- SerialStream.cs
- SafeMemoryMappedViewHandle.cs
- TemplateControlParser.cs
- SchemaImporterExtensionsSection.cs
- _ListenerResponseStream.cs
- MulticastOption.cs
- TextBreakpoint.cs
- TemplateContentLoader.cs
- ServiceReference.cs
- ZeroOpNode.cs
- TextClipboardData.cs
- XsdDateTime.cs
- ImmComposition.cs
- LinkLabelLinkClickedEvent.cs
- VerticalAlignConverter.cs
- SpeechSeg.cs
- CommentGlyph.cs
- UInt32Converter.cs
- XmlChoiceIdentifierAttribute.cs
- TextBox.cs
- Vector3DAnimationBase.cs
- RepeaterItemEventArgs.cs
- BamlTreeUpdater.cs
- RegexCompilationInfo.cs
- ArrayListCollectionBase.cs
- PropertyFilterAttribute.cs
- AdornedElementPlaceholder.cs
- DataSvcMapFile.cs
- GridViewColumn.cs
- RectangleGeometry.cs
- UTF7Encoding.cs
- FieldNameLookup.cs
- InvocationExpression.cs
- FrameworkElement.cs
- CodeValidator.cs
- MessageQueueInstaller.cs
- LinqDataSourceDeleteEventArgs.cs
- TranslateTransform.cs
- GridViewCellAutomationPeer.cs
- ToolStrip.cs
- WmfPlaceableFileHeader.cs
- SessionPageStateSection.cs
- DataSourceConverter.cs
- ProtectedConfigurationSection.cs
- SystemKeyConverter.cs
- InProcStateClientManager.cs
- WebBrowserDesigner.cs
- CalendarDateRangeChangingEventArgs.cs
- BitmapEffectState.cs
- Mappings.cs
- PublishLicense.cs
- ELinqQueryState.cs
- DropShadowBitmapEffect.cs
- WebResponse.cs
- WorkflowApplicationTerminatedException.cs
- EntityDataSourceUtil.cs
- DispatcherEventArgs.cs
- CleanUpVirtualizedItemEventArgs.cs
- ExpressionBindingCollection.cs
- FixedSOMImage.cs
- HttpHandler.cs
- LeaseManager.cs
- Stack.cs
- SecureConversationSecurityTokenParameters.cs
- PeerPresenceInfo.cs
- uribuilder.cs
- ApplicationSettingsBase.cs
- OperationCanceledException.cs
- MULTI_QI.cs
- CoTaskMemHandle.cs
- CachedBitmap.cs
- TypedReference.cs
- FixedStringLookup.cs
- ClientRequest.cs
- WhitespaceRuleLookup.cs
- TableAutomationPeer.cs
- WindowsAuthenticationEventArgs.cs