Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CounterSample.cs
- ViewManager.cs
- WebPartConnectionsDisconnectVerb.cs
- DataChangedEventManager.cs
- DoubleAnimationUsingKeyFrames.cs
- SchemaSetCompiler.cs
- InstanceOwnerException.cs
- ByteAnimation.cs
- ProviderManager.cs
- AutomationElementCollection.cs
- XmlUtil.cs
- EndEvent.cs
- PkcsUtils.cs
- ExpressionBuilderCollection.cs
- DataControlFieldHeaderCell.cs
- DragDropManager.cs
- FileLoadException.cs
- ReceiveContent.cs
- TreeNodeCollectionEditor.cs
- SoapMessage.cs
- SystemIPGlobalProperties.cs
- ParallelTimeline.cs
- UpdatePanelTriggerCollection.cs
- ConfigXmlCDataSection.cs
- ImageMetadata.cs
- HttpHandlersSection.cs
- TraceContextEventArgs.cs
- SerializationInfo.cs
- Converter.cs
- ThemeInfoAttribute.cs
- ProvidePropertyAttribute.cs
- NodeLabelEditEvent.cs
- SafeNativeMethods.cs
- ThicknessAnimationUsingKeyFrames.cs
- Cursor.cs
- UserCancellationException.cs
- HttpCapabilitiesBase.cs
- CertificateManager.cs
- OrderedParallelQuery.cs
- ContextDataSource.cs
- SBCSCodePageEncoding.cs
- SqlCommandBuilder.cs
- DescriptionAttribute.cs
- SoapTypeAttribute.cs
- GlobalItem.cs
- PackUriHelper.cs
- HtmlContainerControl.cs
- CatalogZoneDesigner.cs
- FileUpload.cs
- Point.cs
- Delay.cs
- AdobeCFFWrapper.cs
- StorageEndPropertyMapping.cs
- DataGridViewImageCell.cs
- JobStaple.cs
- TripleDES.cs
- AlgoModule.cs
- SmiSettersStream.cs
- GraphicsPathIterator.cs
- Span.cs
- HttpCacheVary.cs
- ContentValidator.cs
- SQLBytes.cs
- XmlNullResolver.cs
- DataGridViewTopLeftHeaderCell.cs
- XmlILTrace.cs
- LexicalChunk.cs
- LinqDataSourceHelper.cs
- WmlListAdapter.cs
- SqlWebEventProvider.cs
- XmlAttribute.cs
- ClientRolePrincipal.cs
- ImmutableObjectAttribute.cs
- ViewGenResults.cs
- RadialGradientBrush.cs
- AsyncParams.cs
- MarkupCompilePass1.cs
- WebBrowserPermission.cs
- XPathSelectionIterator.cs
- MsmqInputChannelListenerBase.cs
- EncryptedXml.cs
- HTMLTagNameToTypeMapper.cs
- IpcServerChannel.cs
- ValueOfAction.cs
- MetadataWorkspace.cs
- DocumentViewerAutomationPeer.cs
- OneOfScalarConst.cs
- ControlCachePolicy.cs
- ViewManager.cs
- FactoryMaker.cs
- QuaternionRotation3D.cs
- Bidi.cs
- Vars.cs
- WebZone.cs
- NativeMethods.cs
- RegexTree.cs
- OperatingSystem.cs
- NotifyCollectionChangedEventArgs.cs
- tooltip.cs
- EventRouteFactory.cs