Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RequestBringIntoViewEventArgs.cs
- EntitySqlQueryCacheKey.cs
- DataObjectPastingEventArgs.cs
- PartialList.cs
- ClientConfigurationHost.cs
- Int32Collection.cs
- PngBitmapEncoder.cs
- XmlILModule.cs
- MarginsConverter.cs
- CodeTypeDelegate.cs
- ReadOnlyDictionary.cs
- CreateUserErrorEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- ComboBox.cs
- ListViewAutomationPeer.cs
- TraceContextEventArgs.cs
- ProviderConnectionPointCollection.cs
- ViewPort3D.cs
- IncomingWebRequestContext.cs
- RemotingSurrogateSelector.cs
- XmlText.cs
- DragEventArgs.cs
- DragDeltaEventArgs.cs
- TextSearch.cs
- EventManager.cs
- DataServiceQueryException.cs
- Merger.cs
- DiscoveryDocument.cs
- MimeXmlReflector.cs
- SqlDataSourceQueryEditor.cs
- TaskHelper.cs
- StagingAreaInputItem.cs
- DetailsViewRowCollection.cs
- AssemblyCacheEntry.cs
- IncrementalCompileAnalyzer.cs
- InplaceBitmapMetadataWriter.cs
- FileSystemWatcher.cs
- RowsCopiedEventArgs.cs
- HashLookup.cs
- XmlBindingWorker.cs
- FormsAuthentication.cs
- SqlMultiplexer.cs
- DataBindingList.cs
- Int32RectConverter.cs
- DataGridCell.cs
- RenamedEventArgs.cs
- SectionXmlInfo.cs
- ReaderWriterLock.cs
- Expressions.cs
- Int64Storage.cs
- InboundActivityHelper.cs
- ClientSettingsStore.cs
- CodeDomConfigurationHandler.cs
- TraceEventCache.cs
- ServiceHostFactory.cs
- KeyNameIdentifierClause.cs
- DemultiplexingClientMessageFormatter.cs
- InstancePersistenceEvent.cs
- MapPathBasedVirtualPathProvider.cs
- RijndaelManagedTransform.cs
- XmlWriterSettings.cs
- RuntimeEnvironment.cs
- CacheHelper.cs
- AttachInfo.cs
- SmtpDigestAuthenticationModule.cs
- SupportsEventValidationAttribute.cs
- LiteralControl.cs
- TypeDependencyAttribute.cs
- TextSegment.cs
- HttpRuntimeSection.cs
- TimeoutException.cs
- DesignParameter.cs
- TraceUtility.cs
- LinqDataSourceInsertEventArgs.cs
- DetailsViewDesigner.cs
- SQLByte.cs
- CapabilitiesSection.cs
- ExpressionConverter.cs
- ExcludeFromCodeCoverageAttribute.cs
- GenericIdentity.cs
- WindowsScrollBar.cs
- BindableTemplateBuilder.cs
- CollectionCodeDomSerializer.cs
- ZipIOCentralDirectoryBlock.cs
- DelayedRegex.cs
- DeclaredTypeValidatorAttribute.cs
- CodeCatchClauseCollection.cs
- RuntimeArgumentHandle.cs
- Helpers.cs
- AttributeAction.cs
- HyperLinkStyle.cs
- PositiveTimeSpanValidator.cs
- ComponentConverter.cs
- ClientScriptManagerWrapper.cs
- StylusEventArgs.cs
- CommandHelper.cs
- GroupQuery.cs
- ModelUIElement3D.cs
- SiteMapSection.cs
- WpfSharedBamlSchemaContext.cs