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
- ProfilePropertySettingsCollection.cs
- ToolBarOverflowPanel.cs
- TdsParserSessionPool.cs
- ChtmlTextWriter.cs
- DataGridViewImageColumn.cs
- SHA1.cs
- DataGridViewAdvancedBorderStyle.cs
- ListViewTableRow.cs
- CompositeClientFormatter.cs
- PropertyBuilder.cs
- SqlInternalConnectionTds.cs
- ChildrenQuery.cs
- CustomActivityDesigner.cs
- HtmlGenericControl.cs
- UnsafeNativeMethodsCLR.cs
- FileUtil.cs
- AtomEntry.cs
- PropertyValueChangedEvent.cs
- CompilationPass2Task.cs
- ModelTreeEnumerator.cs
- ElementHost.cs
- LambdaCompiler.cs
- XmlRootAttribute.cs
- SafeLibraryHandle.cs
- ScalarConstant.cs
- HtmlElementEventArgs.cs
- AsmxEndpointPickerExtension.cs
- ParameterToken.cs
- MimeBasePart.cs
- NavigationPropertyEmitter.cs
- ClientBuildManager.cs
- WebEventTraceProvider.cs
- OperationPickerDialog.designer.cs
- SingleAnimation.cs
- HtmlInputButton.cs
- TTSEngineTypes.cs
- ListViewGroupItemCollection.cs
- MailMessage.cs
- ToolStripItemImageRenderEventArgs.cs
- HtmlElementCollection.cs
- Recipient.cs
- ExceptionHelpers.cs
- FormsAuthenticationUserCollection.cs
- SchemaNamespaceManager.cs
- Tuple.cs
- ErrorProvider.cs
- HandlerMappingMemo.cs
- BoolLiteral.cs
- PeerTransportListenAddressValidator.cs
- SiteOfOriginPart.cs
- SoapDocumentServiceAttribute.cs
- XmlIlTypeHelper.cs
- StateDesigner.Helpers.cs
- DirectoryLocalQuery.cs
- NativeCppClassAttribute.cs
- FrameDimension.cs
- ThrowHelper.cs
- WindowsFormsHostAutomationPeer.cs
- IndexingContentUnit.cs
- SharedPerformanceCounter.cs
- FilteredXmlReader.cs
- AppDomainProtocolHandler.cs
- StylusDevice.cs
- GetPageCompletedEventArgs.cs
- XmlTextAttribute.cs
- ReplacementText.cs
- GC.cs
- RoleService.cs
- InvalidateEvent.cs
- PartialCachingControl.cs
- errorpatternmatcher.cs
- ProcessHostFactoryHelper.cs
- UshortList2.cs
- Visual3DCollection.cs
- PointCollection.cs
- StateChangeEvent.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- EntityUtil.cs
- TemplateInstanceAttribute.cs
- SmiXetterAccessMap.cs
- ADConnectionHelper.cs
- TextBox.cs
- ComboBoxAutomationPeer.cs
- OleDbReferenceCollection.cs
- XsltLibrary.cs
- URI.cs
- HWStack.cs
- TreeNodeStyleCollection.cs
- WindowsHyperlink.cs
- BaseCAMarshaler.cs
- httpstaticobjectscollection.cs
- SerializationObjectManager.cs
- SrgsSemanticInterpretationTag.cs
- Bits.cs
- VoiceInfo.cs
- DataSysAttribute.cs
- TableCell.cs
- UxThemeWrapper.cs
- ProxyWebPartManager.cs
- TextTreeUndoUnit.cs