Code:
/ FX-1434 / FX-1434 / 1.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
- SafeEventLogWriteHandle.cs
- HandleCollector.cs
- HtmlShimManager.cs
- DockPanel.cs
- ActivityTypeResolver.xaml.cs
- LinkDescriptor.cs
- ContainerFilterService.cs
- CustomErrorCollection.cs
- RIPEMD160.cs
- InitializeCorrelation.cs
- SimpleFieldTemplateFactory.cs
- ExtractorMetadata.cs
- SoapWriter.cs
- UITypeEditor.cs
- MDIControlStrip.cs
- ConvertersCollection.cs
- TerminatorSinks.cs
- EndpointDiscoveryMetadata.cs
- XmlSchemaParticle.cs
- DrawTreeNodeEventArgs.cs
- CodeTypeMemberCollection.cs
- AspNetCompatibilityRequirementsMode.cs
- IntSecurity.cs
- HashHelper.cs
- DataMember.cs
- UdpDiscoveryEndpointElement.cs
- Freezable.cs
- ServerProtocol.cs
- DrawingVisualDrawingContext.cs
- PerfService.cs
- HierarchicalDataTemplate.cs
- ActionFrame.cs
- ClientScriptManager.cs
- remotingproxy.cs
- GenericUriParser.cs
- SqlFormatter.cs
- EventHandlers.cs
- XamlInt32CollectionSerializer.cs
- ProxyWebPartConnectionCollection.cs
- ACE.cs
- AdvancedBindingEditor.cs
- IdentityReference.cs
- TickBar.cs
- WindowsSpinner.cs
- FillErrorEventArgs.cs
- UIElementPropertyUndoUnit.cs
- PromptEventArgs.cs
- EventHandlersStore.cs
- InvariantComparer.cs
- TextModifierScope.cs
- XmlMembersMapping.cs
- AnnotationResource.cs
- MessageSecurityOverHttpElement.cs
- oledbmetadatacollectionnames.cs
- CustomExpressionEventArgs.cs
- ValidationResults.cs
- FormDesigner.cs
- CustomError.cs
- TextLine.cs
- BeginGetFileNameFromUserRequest.cs
- ObfuscationAttribute.cs
- RequestQueryProcessor.cs
- XmlNodeChangedEventArgs.cs
- SecurityRuntime.cs
- EventProxy.cs
- ReadOnlyDataSource.cs
- MenuAutomationPeer.cs
- SetterBaseCollection.cs
- StateWorkerRequest.cs
- SchemaMapping.cs
- DataGridViewLinkCell.cs
- SystemThemeKey.cs
- InvokeMethodDesigner.xaml.cs
- FloaterBaseParagraph.cs
- TreeNode.cs
- LocalizableResourceBuilder.cs
- DataList.cs
- HandlerWithFactory.cs
- UrlPath.cs
- DataError.cs
- WinEventQueueItem.cs
- ColorContext.cs
- TextTreeDeleteContentUndoUnit.cs
- MenuItemBinding.cs
- ScrollChangedEventArgs.cs
- WebBrowserDocumentCompletedEventHandler.cs
- UriParserTemplates.cs
- CancellationTokenSource.cs
- SerializationInfoEnumerator.cs
- ByteStreamBufferedMessageData.cs
- NumericUpDownAcceleration.cs
- XmlCDATASection.cs
- SqlServices.cs
- AdCreatedEventArgs.cs
- PeerToPeerException.cs
- ElementNotAvailableException.cs
- UserControlCodeDomTreeGenerator.cs
- _ProxyRegBlob.cs
- DataSourceControlBuilder.cs
- BypassElementCollection.cs