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 / 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; } } } } // 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.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; } } } } // 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
- UnaryQueryOperator.cs
- XmlElementAttributes.cs
- PassportAuthentication.cs
- UInt16.cs
- RequestChannel.cs
- LoadRetryHandler.cs
- ToolStripStatusLabel.cs
- TabControlCancelEvent.cs
- HtmlGenericControl.cs
- ObjectView.cs
- ClientConfigurationHost.cs
- WsdlInspector.cs
- _NestedSingleAsyncResult.cs
- PieceDirectory.cs
- DetailsViewUpdatedEventArgs.cs
- LZCodec.cs
- ThemeDictionaryExtension.cs
- ConfigurationSectionCollection.cs
- KnowledgeBase.cs
- EncryptedXml.cs
- BitmapFrame.cs
- DataSetViewSchema.cs
- SoapAttributeOverrides.cs
- XmlSerializerNamespaces.cs
- DependencyPropertyHelper.cs
- BitmapEffectState.cs
- ConsumerConnectionPointCollection.cs
- FileReservationCollection.cs
- CompilerState.cs
- SchemaNames.cs
- SuppressedPackageProperties.cs
- CommentGlyph.cs
- InputBinding.cs
- ClientCultureInfo.cs
- HtmlToClrEventProxy.cs
- ExtentKey.cs
- localization.cs
- ScrollBar.cs
- UnauthorizedWebPart.cs
- Grant.cs
- SafeNativeMethods.cs
- TransformPatternIdentifiers.cs
- figurelength.cs
- ComponentDispatcherThread.cs
- ZipPackagePart.cs
- TreeIterator.cs
- GenerateHelper.cs
- TableLayoutColumnStyleCollection.cs
- XmlSchemaException.cs
- AssemblyCollection.cs
- PropertyTab.cs
- ExceptionUtil.cs
- SqlCommandBuilder.cs
- UITypeEditor.cs
- EventListenerClientSide.cs
- SourceChangedEventArgs.cs
- HostedElements.cs
- VisualTreeHelper.cs
- TemplateBindingExtension.cs
- FormattedText.cs
- RangeBase.cs
- SqlUserDefinedAggregateAttribute.cs
- FrugalList.cs
- localization.cs
- DBPropSet.cs
- InputReport.cs
- _NativeSSPI.cs
- DataGridItemEventArgs.cs
- PersonalizationStateQuery.cs
- EventPrivateKey.cs
- QueryParameter.cs
- Roles.cs
- BaseParser.cs
- WebDisplayNameAttribute.cs
- DispatcherProcessingDisabled.cs
- DateBoldEvent.cs
- WindowsSolidBrush.cs
- FileNameEditor.cs
- DateTimeConstantAttribute.cs
- HttpVersion.cs
- LocalValueEnumerator.cs
- SqlDataReaderSmi.cs
- PathFigureCollection.cs
- MatrixTransform.cs
- SocketException.cs
- ServiceMemoryGates.cs
- DbSourceParameterCollection.cs
- DataError.cs
- Pointer.cs
- WorkItem.cs
- TextTreeUndo.cs
- MulticastOption.cs
- Events.cs
- PeerNameRecord.cs
- MetadataArtifactLoaderFile.cs
- PerfCounters.cs
- MediaSystem.cs
- ApplicationServiceHelper.cs
- ApplicationSettingsBase.cs
- UserInitiatedNavigationPermission.cs