Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } } // 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
- SqlUDTStorage.cs
- OutputCacheSettingsSection.cs
- TemplateFactory.cs
- BaseTemplatedMobileComponentEditor.cs
- IsolatedStorageException.cs
- MatrixValueSerializer.cs
- FusionWrap.cs
- HtmlDocument.cs
- ResourceBinder.cs
- GridViewDeleteEventArgs.cs
- ThreadStartException.cs
- SharedUtils.cs
- TrustLevelCollection.cs
- CalculatedColumn.cs
- SHA384.cs
- Debugger.cs
- ListBindableAttribute.cs
- ConcurrentDictionary.cs
- LineServicesCallbacks.cs
- WebColorConverter.cs
- Size.cs
- PackageRelationshipCollection.cs
- StoreAnnotationsMap.cs
- CachedTypeface.cs
- DrawListViewItemEventArgs.cs
- NamedServiceModelExtensionCollectionElement.cs
- ResourceWriter.cs
- AutomationProperty.cs
- ToolStripContentPanel.cs
- _ProxyRegBlob.cs
- XmlAnyElementAttribute.cs
- ThreadExceptionDialog.cs
- FormattedText.cs
- VirtualPathProvider.cs
- RefreshEventArgs.cs
- KeyInterop.cs
- EntryPointNotFoundException.cs
- XmlNotation.cs
- WindowAutomationPeer.cs
- DynamicPropertyHolder.cs
- PageAsyncTask.cs
- DrawingImage.cs
- ScriptManagerProxy.cs
- ResourcePermissionBaseEntry.cs
- XmlAttributeAttribute.cs
- EntityConnection.cs
- XmlILModule.cs
- ProxySimple.cs
- SiteMapProvider.cs
- SamlAuthenticationStatement.cs
- CatalogPartCollection.cs
- ProfileModule.cs
- AvTrace.cs
- PersonalizationProvider.cs
- DataGridViewComboBoxCell.cs
- DesignBindingPropertyDescriptor.cs
- HttpModuleAction.cs
- MultiBinding.cs
- ClientSponsor.cs
- XamlStackWriter.cs
- loginstatus.cs
- DbProviderManifest.cs
- DataGridColumnCollection.cs
- ScrollItemPattern.cs
- CellPartitioner.cs
- EventArgs.cs
- DefaultObjectSerializer.cs
- CapacityStreamGeometryContext.cs
- TextLineBreak.cs
- TextShapeableCharacters.cs
- PageParserFilter.cs
- SmiContext.cs
- References.cs
- QueueSurrogate.cs
- CheckStoreFileValidityRequest.cs
- DataSourceHelper.cs
- PersonalizableTypeEntry.cs
- CodeGenerationManager.cs
- QuaternionAnimation.cs
- CellQuery.cs
- VarInfo.cs
- PropertyRecord.cs
- XsdDuration.cs
- TdsParserSafeHandles.cs
- MergePropertyDescriptor.cs
- UnsafeNativeMethods.cs
- HttpBrowserCapabilitiesWrapper.cs
- State.cs
- XPathItem.cs
- JsonServiceDocumentSerializer.cs
- SiteMapNodeItemEventArgs.cs
- IntPtr.cs
- HyperLinkField.cs
- HttpMethodConstraint.cs
- HttpsHostedTransportConfiguration.cs
- HiddenField.cs
- Attributes.cs
- WindowsTokenRoleProvider.cs
- TrustLevelCollection.cs
- UriExt.cs