Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / InteropServices / TCEAdapterGen / EventItfInfo.cs / 1 / EventItfInfo.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices.TCEAdapterGen { using System; using System.Reflection; using System.Reflection.Emit; using System.Collections; internal class EventItfInfo { public EventItfInfo(String strEventItfName, String strSrcItfName, String strEventProviderName, Assembly asmImport, Assembly asmSrcItf) { m_strEventItfName = strEventItfName; m_strSrcItfName = strSrcItfName; m_strEventProviderName = strEventProviderName; m_asmImport = asmImport; m_asmSrcItf = asmSrcItf; } public Type GetEventItfType() { Type t = m_asmImport.GetType(m_strEventItfName, true, false); if (t != null && !t.IsVisible) t = null; return t; } public Type GetSrcItfType() { Type t = m_asmSrcItf.GetType(m_strSrcItfName, true, false); if (t != null && !t.IsVisible) t = null; return t; } public String GetEventProviderName() { return m_strEventProviderName; } private String m_strEventItfName; private String m_strSrcItfName; private String m_strEventProviderName; private Assembly m_asmImport; private Assembly m_asmSrcItf; } } // 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
- XmlComplianceUtil.cs
- StringWriter.cs
- MouseEvent.cs
- TypeBuilderInstantiation.cs
- CombinedTcpChannel.cs
- HtmlEncodedRawTextWriter.cs
- DataGridViewRow.cs
- PreviewPrintController.cs
- XmlnsDefinitionAttribute.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DbParameterCollectionHelper.cs
- RouteItem.cs
- SafeRegistryHandle.cs
- ToolStripControlHost.cs
- Funcletizer.cs
- PresentationTraceSources.cs
- HyperLinkColumn.cs
- EntityContainer.cs
- PartialList.cs
- DataListCommandEventArgs.cs
- DeviceFiltersSection.cs
- CodeMemberProperty.cs
- BitStack.cs
- ComplexObject.cs
- XmlDataDocument.cs
- PseudoWebRequest.cs
- AnyAllSearchOperator.cs
- StatusBarPanelClickEvent.cs
- GridViewItemAutomationPeer.cs
- GlyphRunDrawing.cs
- ComponentEvent.cs
- PropertyInformationCollection.cs
- PropertyMapper.cs
- Point3DAnimationUsingKeyFrames.cs
- Documentation.cs
- XmlLinkedNode.cs
- updatecommandorderer.cs
- FactoryGenerator.cs
- QilFactory.cs
- ComponentRenameEvent.cs
- XmlNavigatorStack.cs
- WsiProfilesElement.cs
- CodeMemberProperty.cs
- HierarchicalDataBoundControl.cs
- DataGridViewTextBoxEditingControl.cs
- Component.cs
- DrawingContextWalker.cs
- OperatorExpressions.cs
- SoapMessage.cs
- Ops.cs
- assemblycache.cs
- CodePrimitiveExpression.cs
- DataColumnChangeEvent.cs
- AuthorizationRuleCollection.cs
- FunctionNode.cs
- ExceptionValidationRule.cs
- ProtocolsConfiguration.cs
- BasicExpressionVisitor.cs
- OletxDependentTransaction.cs
- ApplicationCommands.cs
- PersonalizationStateQuery.cs
- RegularExpressionValidator.cs
- CategoryAttribute.cs
- Point4D.cs
- _DigestClient.cs
- BitVec.cs
- ProcessModelInfo.cs
- ClockGroup.cs
- WebBrowser.cs
- RequestStatusBarUpdateEventArgs.cs
- Grid.cs
- DataBindingCollection.cs
- OfTypeExpression.cs
- PageOutputQuality.cs
- LinkTarget.cs
- StylusPointCollection.cs
- FrameworkContentElement.cs
- PrintingPermissionAttribute.cs
- ImageKeyConverter.cs
- ZoneIdentityPermission.cs
- DocumentGrid.cs
- BitmapCacheBrush.cs
- PtsPage.cs
- XmlCountingReader.cs
- ImageFormatConverter.cs
- InlineObject.cs
- WebPartConnectionsDisconnectVerb.cs
- RequestSecurityToken.cs
- CompiledELinqQueryState.cs
- FilterQuery.cs
- TextBox.cs
- DesigntimeLicenseContextSerializer.cs
- KeyboardDevice.cs
- ObjectConverter.cs
- PathNode.cs
- ScriptResourceHandler.cs
- AddDataControlFieldDialog.cs
- ContainerUtilities.cs
- FileRegion.cs
- MSAAWinEventWrap.cs