Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== 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.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HitTestParameters.cs
- SystemEvents.cs
- WindowInteropHelper.cs
- DateTimeUtil.cs
- LocalBuilder.cs
- XmlDataContract.cs
- ScrollProperties.cs
- ReadOnlyHierarchicalDataSourceView.cs
- HttpException.cs
- SqlParameterCollection.cs
- BaseDataListPage.cs
- GacUtil.cs
- IPHostEntry.cs
- MultipartIdentifier.cs
- RouteItem.cs
- ToolStripItemCollection.cs
- WebDisplayNameAttribute.cs
- UriTemplateClientFormatter.cs
- XmlReader.cs
- SessionEndedEventArgs.cs
- StyleBamlRecordReader.cs
- XmlCompatibilityReader.cs
- Property.cs
- SingletonChannelAcceptor.cs
- AvTrace.cs
- IISMapPath.cs
- Visual.cs
- Misc.cs
- ApplicationFileCodeDomTreeGenerator.cs
- KeyEvent.cs
- DataAccessException.cs
- Dump.cs
- XamlBuildTaskServices.cs
- CollectionsUtil.cs
- DesignerDeviceConfig.cs
- TableLayoutSettings.cs
- SearchExpression.cs
- ISAPIRuntime.cs
- EtwTrace.cs
- Emitter.cs
- TransformerConfigurationWizardBase.cs
- ConstraintManager.cs
- BindMarkupExtensionSerializer.cs
- NameSpaceEvent.cs
- ResourceIDHelper.cs
- DocumentScope.cs
- ImpersonationContext.cs
- ReturnValue.cs
- SourceLineInfo.cs
- Delegate.cs
- PrincipalPermissionMode.cs
- StateRuntime.cs
- EntityClientCacheEntry.cs
- ResetableIterator.cs
- Adorner.cs
- Selector.cs
- CheckBoxBaseAdapter.cs
- IndexedGlyphRun.cs
- LocalizableResourceBuilder.cs
- AsyncPostBackErrorEventArgs.cs
- BitStream.cs
- SqlWorkflowPersistenceService.cs
- EntryPointNotFoundException.cs
- ProxyGenerationError.cs
- TypeUtil.cs
- FragmentQueryKB.cs
- TimeSpanStorage.cs
- PackageRelationship.cs
- TreeNodeCollection.cs
- TransformGroup.cs
- Compiler.cs
- CodeAccessPermission.cs
- AppDomainShutdownMonitor.cs
- CaseInsensitiveOrdinalStringComparer.cs
- GetWinFXPath.cs
- JsonXmlDataContract.cs
- _TransmitFileOverlappedAsyncResult.cs
- TextRunCache.cs
- EntityCollection.cs
- PolicyLevel.cs
- OracleBinary.cs
- FontCollection.cs
- SafeLocalMemHandle.cs
- Span.cs
- ListSortDescriptionCollection.cs
- Decorator.cs
- IntermediatePolicyValidator.cs
- HwndKeyboardInputProvider.cs
- XamlSerializerUtil.cs
- BorderGapMaskConverter.cs
- HttpProfileGroupBase.cs
- ModuleBuilderData.cs
- Part.cs
- exports.cs
- XmlElementList.cs
- PropertyValueUIItem.cs
- TimeSpanOrInfiniteValidator.cs
- DBPropSet.cs
- WSSecurityPolicy.cs
- HtmlValidationSummaryAdapter.cs