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
- CellTreeSimplifier.cs
- SQLChars.cs
- TemplateEditingVerb.cs
- AsyncCompletedEventArgs.cs
- HttpDebugHandler.cs
- SymbolType.cs
- IdentitySection.cs
- QilReference.cs
- InternalMappingException.cs
- GatewayDefinition.cs
- NamespaceCollection.cs
- Point.cs
- SqlFunctions.cs
- EntitySetRetriever.cs
- XamlStyleSerializer.cs
- DocumentPage.cs
- ObjectDataProvider.cs
- LogArchiveSnapshot.cs
- SecurityTokenValidationException.cs
- SchemaMerger.cs
- EventMap.cs
- XmlSchemaDatatype.cs
- HtmlTernaryTree.cs
- JsonWriterDelegator.cs
- ReadingWritingEntityEventArgs.cs
- ComponentGuaranteesAttribute.cs
- DescriptionAttribute.cs
- SystemNetHelpers.cs
- GridViewUpdatedEventArgs.cs
- PrintControllerWithStatusDialog.cs
- Int32Rect.cs
- SliderAutomationPeer.cs
- SettingsProviderCollection.cs
- QueryContinueDragEventArgs.cs
- ContainerAction.cs
- CaseExpr.cs
- Viewport3DAutomationPeer.cs
- SupportsEventValidationAttribute.cs
- VerticalAlignConverter.cs
- MatrixCamera.cs
- WaitForChangedResult.cs
- InputLanguage.cs
- EntityDataSourceState.cs
- OutputChannelBinder.cs
- XmlQualifiedNameTest.cs
- MasterPageParser.cs
- DataSourceXmlClassAttribute.cs
- SqlMultiplexer.cs
- SqlClientPermission.cs
- XmlCharCheckingWriter.cs
- MediaTimeline.cs
- HttpRawResponse.cs
- Mappings.cs
- SQLByte.cs
- ProxyFragment.cs
- EntitySetDataBindingList.cs
- AutomationPropertyInfo.cs
- ExpressionEditor.cs
- ApplicationFileParser.cs
- DataTransferEventArgs.cs
- ToolStripGripRenderEventArgs.cs
- BoolExpr.cs
- CodeDirectoryCompiler.cs
- BrowserTree.cs
- FocusTracker.cs
- ApplicationSecurityManager.cs
- ThreadStartException.cs
- XPathQilFactory.cs
- ProfilePropertySettings.cs
- DataBinding.cs
- ZipFileInfoCollection.cs
- UrlUtility.cs
- HttpModule.cs
- WinEventQueueItem.cs
- TextElementEnumerator.cs
- NetworkInformationPermission.cs
- selecteditemcollection.cs
- ApplicationInfo.cs
- TokenizerHelper.cs
- OdbcEnvironmentHandle.cs
- PartManifestEntry.cs
- CheckBoxBaseAdapter.cs
- Trigger.cs
- KeyGestureConverter.cs
- IntSecurity.cs
- BinaryParser.cs
- HttpInputStream.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ToolStripGrip.cs
- ThreadPool.cs
- UnsafeNativeMethods.cs
- XmlWriterTraceListener.cs
- GlobalItem.cs
- WebPartManager.cs
- Statements.cs
- ZipFileInfoCollection.cs
- RayHitTestParameters.cs
- AuthenticationSection.cs
- WebResourceAttribute.cs
- MarkupExtensionParser.cs