Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / ProviderConnectionPoint.cs / 1 / ProviderConnectionPoint.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Reflection; using System.Security.Permissions; using System.Web; using System.Web.Util; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ProviderConnectionPoint : ConnectionPoint { // Used by WebPartManager to verify the custom ConnectionPoint type has // the correct constructor signature. internal static readonly Type[] ConstructorTypes; static ProviderConnectionPoint() { ConstructorInfo constructor = typeof(ProviderConnectionPoint).GetConstructors()[0]; ConstructorTypes = WebPartUtil.GetTypesForConstructor(constructor); } public ProviderConnectionPoint(MethodInfo callbackMethod, Type interfaceType, Type controlType, string displayName, string id, bool allowsMultipleConnections) : base( callbackMethod, interfaceType, controlType, displayName, id, allowsMultipleConnections) { } ////// The secondary interfaces for this connection point. An exception will be thrown /// if primary interfaces are returned in this collection. /// public virtual ConnectionInterfaceCollection GetSecondaryInterfaces(Control control) { return ConnectionInterfaceCollection.Empty; } public virtual object GetObject(Control control) { if (control == null) { throw new ArgumentNullException("control"); } return CallbackMethod.Invoke(control, null); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemNetworkInterface.cs
- RegistryPermission.cs
- DbProviderManifest.cs
- AsyncPostBackTrigger.cs
- StateMachineAction.cs
- CompModSwitches.cs
- IdentityNotMappedException.cs
- DependencyPropertyChangedEventArgs.cs
- HttpSessionStateWrapper.cs
- ErrorsHelper.cs
- XmlSiteMapProvider.cs
- ProfileEventArgs.cs
- Matrix.cs
- ListControlConvertEventArgs.cs
- BitmapEffectInput.cs
- OracleString.cs
- FastEncoder.cs
- SizeConverter.cs
- SoapCommonClasses.cs
- FileRecordSequenceHelper.cs
- DelegatedStream.cs
- RectIndependentAnimationStorage.cs
- TypefaceCollection.cs
- IPAddressCollection.cs
- SettingsPropertyValueCollection.cs
- RepeatBehavior.cs
- WebPartZoneCollection.cs
- UnsafeNativeMethods.cs
- TimeStampChecker.cs
- CheckBoxField.cs
- SqlBuffer.cs
- HttpCacheVaryByContentEncodings.cs
- ResourceManagerWrapper.cs
- Pair.cs
- SimpleColumnProvider.cs
- RegexParser.cs
- Debugger.cs
- TreeViewDataItemAutomationPeer.cs
- ManagementOperationWatcher.cs
- Stack.cs
- CompositeFontParser.cs
- WebPartConnectionsDisconnectVerb.cs
- SendActivity.cs
- IntSecurity.cs
- DataGridViewLinkColumn.cs
- EntityDataSourceValidationException.cs
- ExpressionVisitorHelpers.cs
- ContextDataSourceContextData.cs
- Italic.cs
- DecimalKeyFrameCollection.cs
- MonikerProxyAttribute.cs
- InArgument.cs
- ConstructorBuilder.cs
- SafeRightsManagementPubHandle.cs
- ConfigurationProperty.cs
- NameSpaceEvent.cs
- While.cs
- ApplicationServicesHostFactory.cs
- SByteStorage.cs
- HttpResponseWrapper.cs
- _SslState.cs
- GenericTextProperties.cs
- UseManagedPresentationElement.cs
- InternalConfigEventArgs.cs
- DataGridCommandEventArgs.cs
- RegexTree.cs
- ClientSettingsStore.cs
- TextPattern.cs
- WindowPattern.cs
- RijndaelManagedTransform.cs
- PenThreadWorker.cs
- _LazyAsyncResult.cs
- EncoderFallback.cs
- DataServiceHost.cs
- EmptyReadOnlyDictionaryInternal.cs
- BaseCollection.cs
- HttpCookie.cs
- Helper.cs
- ColorInterpolationModeValidation.cs
- XslUrlEditor.cs
- FileIOPermission.cs
- HighlightVisual.cs
- HMACSHA384.cs
- SnapLine.cs
- XmlWellformedWriter.cs
- QueryExpr.cs
- ResourceAttributes.cs
- QualifierSet.cs
- ListCardsInFileRequest.cs
- TabletDeviceInfo.cs
- BeginEvent.cs
- ConfigurationException.cs
- EntityDataSourceView.cs
- XPathNode.cs
- MiniLockedBorderGlyph.cs
- LazyTextWriterCreator.cs
- ContextConfiguration.cs
- unsafenativemethodsother.cs
- SelectionItemPattern.cs
- FilterQuery.cs