Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelEventArgs.cs / 1 / WebPartConnectionsCancelEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.ComponentModel; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class WebPartConnectionsCancelEventArgs : CancelEventArgs { private WebPart _provider; private ProviderConnectionPoint _providerConnectionPoint; private WebPart _consumer; private ConsumerConnectionPoint _consumerConnectionPoint; private WebPartConnection _connection; public WebPartConnectionsCancelEventArgs(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 WebPartConnectionsCancelEventArgs(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
- EncodingTable.cs
- GPPOINTF.cs
- AssemblySettingAttributes.cs
- dataSvcMapFileLoader.cs
- SessionSwitchEventArgs.cs
- VectorValueSerializer.cs
- IList.cs
- SqlClientMetaDataCollectionNames.cs
- DesignerSerializationOptionsAttribute.cs
- EmptyQuery.cs
- BulletedListEventArgs.cs
- SafeHandles.cs
- DbgCompiler.cs
- ISAPIApplicationHost.cs
- RedirectionProxy.cs
- PageContentAsyncResult.cs
- ObjectAssociationEndMapping.cs
- TraceListeners.cs
- XmlAttributes.cs
- Calendar.cs
- DocumentXmlWriter.cs
- GetRecipientListRequest.cs
- AxisAngleRotation3D.cs
- DateTimeUtil.cs
- ScriptControlManager.cs
- DataGridColumnHeaderAutomationPeer.cs
- MessageQueueInstaller.cs
- EntitySqlQueryCacheEntry.cs
- Rijndael.cs
- RuleSettings.cs
- SubMenuStyleCollection.cs
- Path.cs
- NamedPermissionSet.cs
- PerformanceCounterManager.cs
- CapabilitiesState.cs
- AssociatedControlConverter.cs
- ConnectionPoolManager.cs
- DataGridViewCellStyleChangedEventArgs.cs
- WebRequestModuleElementCollection.cs
- FormViewUpdatedEventArgs.cs
- AttributeUsageAttribute.cs
- ReflectEventDescriptor.cs
- EllipticalNodeOperations.cs
- XmlUrlResolver.cs
- ArcSegment.cs
- ControlPersister.cs
- WinInetCache.cs
- XmlDeclaration.cs
- DetailsViewDeleteEventArgs.cs
- SqlDataSourceCommandEventArgs.cs
- FrameworkContentElement.cs
- XPathDescendantIterator.cs
- ListChangedEventArgs.cs
- BooleanConverter.cs
- Header.cs
- LockedActivityGlyph.cs
- EditorPartChrome.cs
- FieldAccessException.cs
- DataGridViewRowPostPaintEventArgs.cs
- DiscoveryInnerClientAdhoc11.cs
- StrokeNodeOperations.cs
- TextSpan.cs
- UnmanagedMarshal.cs
- ContextQuery.cs
- OutputScopeManager.cs
- PropertyBuilder.cs
- RegisteredDisposeScript.cs
- FrameworkPropertyMetadata.cs
- SingleTagSectionHandler.cs
- MessageEncodingBindingElementImporter.cs
- CompensationToken.cs
- WebScriptMetadataMessageEncoderFactory.cs
- BackStopAuthenticationModule.cs
- Command.cs
- HandleRef.cs
- HttpDebugHandler.cs
- WebDisplayNameAttribute.cs
- WorkflowTraceTransfer.cs
- InputElement.cs
- TheQuery.cs
- XmlObjectSerializerWriteContext.cs
- WriterOutput.cs
- RunWorkerCompletedEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- WebServiceErrorEvent.cs
- RemoteWebConfigurationHost.cs
- CheckBoxField.cs
- VectorAnimationBase.cs
- ImmutableAssemblyCacheEntry.cs
- TriggerActionCollection.cs
- ExceptionCollection.cs
- GiveFeedbackEvent.cs
- SSmlParser.cs
- StylusPointDescription.cs
- AutomationPropertyInfo.cs
- ProgressBarBrushConverter.cs
- HMACSHA256.cs
- CommonDialog.cs
- HttpProtocolImporter.cs