Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FactoryRecord.cs
- ITextView.cs
- DbLambda.cs
- SerializationInfoEnumerator.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- DataGridViewButtonColumn.cs
- PageHandlerFactory.cs
- WorkflowServiceHostFactory.cs
- SystemNetworkInterface.cs
- Stacktrace.cs
- WebPartConnectionCollection.cs
- HttpResponseWrapper.cs
- EntityDataSourceConfigureObjectContext.cs
- SQLDecimalStorage.cs
- TraceListeners.cs
- ECDiffieHellmanCng.cs
- fixedPageContentExtractor.cs
- ReliabilityContractAttribute.cs
- ActiveXSite.cs
- MenuItemBinding.cs
- PropertyRef.cs
- Pkcs9Attribute.cs
- NavigationCommands.cs
- UserControlAutomationPeer.cs
- SequenceFullException.cs
- SafeEventLogWriteHandle.cs
- PageCodeDomTreeGenerator.cs
- TextPenaltyModule.cs
- Geometry3D.cs
- DesignerDataStoredProcedure.cs
- Zone.cs
- Container.cs
- ComponentFactoryHelpers.cs
- ConfigUtil.cs
- XmlStringTable.cs
- RelatedImageListAttribute.cs
- WebUtil.cs
- ToolTip.cs
- HorizontalAlignConverter.cs
- HttpWebRequest.cs
- BitHelper.cs
- DbConnectionStringBuilder.cs
- CheckBoxList.cs
- OracleRowUpdatingEventArgs.cs
- Point3D.cs
- KnownTypes.cs
- DataGridItemEventArgs.cs
- CodeStatementCollection.cs
- SymbolEqualComparer.cs
- Visual.cs
- ListParagraph.cs
- EventLogEntryCollection.cs
- PerfCounters.cs
- NamedPermissionSet.cs
- DbDataSourceEnumerator.cs
- TypeDescriptionProviderAttribute.cs
- InvokeFunc.cs
- MenuItem.cs
- MsmqIntegrationBindingElement.cs
- SapiAttributeParser.cs
- RoleManagerSection.cs
- TextEditorTables.cs
- XmlSchemaProviderAttribute.cs
- BuildResultCache.cs
- RequestCache.cs
- DataViewSettingCollection.cs
- DataListItem.cs
- NativeCppClassAttribute.cs
- ToolStrip.cs
- XmlValueConverter.cs
- XmlCountingReader.cs
- Delegate.cs
- BoundsDrawingContextWalker.cs
- BinaryExpression.cs
- XsltConvert.cs
- SymLanguageVendor.cs
- ProtocolsConfiguration.cs
- ObjectViewFactory.cs
- VisualStyleRenderer.cs
- HttpPostProtocolReflector.cs
- VirtualDirectoryMappingCollection.cs
- CacheOutputQuery.cs
- DesignerCategoryAttribute.cs
- WebMessageEncoderFactory.cs
- VirtualPathProvider.cs
- CurrencyManager.cs
- HandleRef.cs
- PriorityQueue.cs
- BypassElement.cs
- MethodToken.cs
- remotingproxy.cs
- AppDomainManager.cs
- ExpressionNode.cs
- oledbconnectionstring.cs
- BinaryNode.cs
- ColumnBinding.cs
- WebEvents.cs
- DXD.cs
- CryptoApi.cs
- SqlInternalConnection.cs