Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / ProviderConnectionPoint.cs / 1305376 / ProviderConnectionPoint.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Reflection; using System.Web; using System.Web.Util; 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FatalException.cs
- SettingsSection.cs
- GridEntryCollection.cs
- TableParagraph.cs
- StatusBarPanelClickEvent.cs
- EntityDataSourceMemberPath.cs
- ComponentCollection.cs
- InvalidProgramException.cs
- ServerIdentity.cs
- GrammarBuilder.cs
- DeclaredTypeElement.cs
- PropertyValueUIItem.cs
- TypeConverter.cs
- ContractMapping.cs
- TrackingRecord.cs
- SerializableAttribute.cs
- XPathPatternBuilder.cs
- UriTemplateVariableQueryValue.cs
- ResourceManagerWrapper.cs
- ArithmeticException.cs
- CellParaClient.cs
- ChannelPool.cs
- ToolStripPanelRenderEventArgs.cs
- AsynchronousChannelMergeEnumerator.cs
- ResourceProviderFactory.cs
- InternalDispatchObject.cs
- MgmtConfigurationRecord.cs
- CodeDesigner.cs
- ResourceProviderFactory.cs
- KeyPullup.cs
- ResourceContainer.cs
- ContentElement.cs
- GeneralTransform3DTo2DTo3D.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ListBase.cs
- ScrollEvent.cs
- ApplicationBuildProvider.cs
- X509SubjectKeyIdentifierClause.cs
- BindStream.cs
- StreamGeometryContext.cs
- Wildcard.cs
- VBCodeProvider.cs
- _HTTPDateParse.cs
- CollectionViewProxy.cs
- DesignerAttribute.cs
- SqlMethodTransformer.cs
- DateTimeParse.cs
- WebServicesSection.cs
- ActionFrame.cs
- AppSettingsSection.cs
- Misc.cs
- HttpCookiesSection.cs
- BinaryReader.cs
- FacetDescriptionElement.cs
- ExpressionVisitor.cs
- ExpiredSecurityTokenException.cs
- LowerCaseStringConverter.cs
- Dynamic.cs
- ArgumentNullException.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- HtmlElementErrorEventArgs.cs
- QuotaExceededException.cs
- RegisteredArrayDeclaration.cs
- ApplicationContext.cs
- TagPrefixCollection.cs
- BuiltInExpr.cs
- EditCommandColumn.cs
- PropertyEmitterBase.cs
- SqlLiftWhereClauses.cs
- PageTheme.cs
- OperationResponse.cs
- SoapElementAttribute.cs
- NoClickablePointException.cs
- ConfigurationPropertyAttribute.cs
- EdmComplexTypeAttribute.cs
- InputLanguageSource.cs
- DBSqlParserColumnCollection.cs
- DefaultIfEmptyQueryOperator.cs
- SplitterCancelEvent.cs
- RewritingValidator.cs
- QilBinary.cs
- EntityPropertyMappingAttribute.cs
- TextRange.cs
- ObjectDataSourceDisposingEventArgs.cs
- ToolStripSplitStackLayout.cs
- XmlElementList.cs
- XmlAnyElementAttributes.cs
- SerTrace.cs
- _NegoStream.cs
- DoubleConverter.cs
- MembershipUser.cs
- SchemeSettingElement.cs
- CodeStatementCollection.cs
- DirectoryInfo.cs
- XmlName.cs
- RetrieveVirtualItemEventArgs.cs
- FontCollection.cs
- ControlEvent.cs
- TypeSemantics.cs
- ResourcesGenerator.cs