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
- WebPartZone.cs
- ContentControl.cs
- SqlFileStream.cs
- Base64Decoder.cs
- WebPartConnectionsCancelEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- AspCompat.cs
- _SafeNetHandles.cs
- XmlDownloadManager.cs
- ToolboxItemFilterAttribute.cs
- IisTraceListener.cs
- WorkerProcess.cs
- COM2PropertyPageUITypeConverter.cs
- BamlCollectionHolder.cs
- DelegatingHeader.cs
- GlobalProxySelection.cs
- ApplicationSecurityManager.cs
- Int16Converter.cs
- DeferredElementTreeState.cs
- ParseElement.cs
- Location.cs
- TableRowCollection.cs
- JournalNavigationScope.cs
- ComponentFactoryHelpers.cs
- ListViewItemCollectionEditor.cs
- _StreamFramer.cs
- ReflectTypeDescriptionProvider.cs
- ColumnBinding.cs
- CheckBoxAutomationPeer.cs
- ObjectDataSourceDesigner.cs
- MimePart.cs
- GuidelineSet.cs
- SelectionChangedEventArgs.cs
- HtmlContainerControl.cs
- FamilyCollection.cs
- SrgsSemanticInterpretationTag.cs
- LocalTransaction.cs
- WebZoneDesigner.cs
- VersionedStreamOwner.cs
- MenuItem.cs
- InfoCardSchemas.cs
- CodeNamespaceImportCollection.cs
- ListViewCommandEventArgs.cs
- PageMediaSize.cs
- ScrollViewerAutomationPeer.cs
- HostProtectionPermission.cs
- WorkflowPersistenceService.cs
- FreeFormDesigner.cs
- FigureHelper.cs
- BamlLocalizableResourceKey.cs
- ResourceAttributes.cs
- ViewStateChangedEventArgs.cs
- GridViewDeletedEventArgs.cs
- LongValidatorAttribute.cs
- HtmlInputImage.cs
- PowerStatus.cs
- TextAdaptor.cs
- RealizationDrawingContextWalker.cs
- DispatchProxy.cs
- SqlServices.cs
- MachineSettingsSection.cs
- ValidationErrorCollection.cs
- DetailsViewPageEventArgs.cs
- XmlException.cs
- BinaryEditor.cs
- ChangeToolStripParentVerb.cs
- DoubleLinkListEnumerator.cs
- SpanIndex.cs
- SecurityStandardsManager.cs
- EntityCommand.cs
- ReferenceAssemblyAttribute.cs
- ListControl.cs
- ToolTipService.cs
- PropertyFilterAttribute.cs
- FormViewDeleteEventArgs.cs
- QilVisitor.cs
- ReaderWriterLockWrapper.cs
- BuildProvidersCompiler.cs
- CachingHintValidation.cs
- ScrollBar.cs
- FixedSOMTableCell.cs
- DataGridViewComboBoxColumn.cs
- CompileLiteralTextParser.cs
- ISessionStateStore.cs
- RSAPKCS1KeyExchangeFormatter.cs
- AssertSection.cs
- EntityProviderFactory.cs
- MarginCollapsingState.cs
- UIElement.cs
- VisualCollection.cs
- SymbolType.cs
- SqlNodeTypeOperators.cs
- CodeCompiler.cs
- PeerDuplexChannel.cs
- FloatAverageAggregationOperator.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ListViewItemEventArgs.cs
- EntityDesignerUtils.cs
- OleDbDataReader.cs
- DateTimeOffsetStorage.cs