Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / TCEAdapterGen / EventItfInfo.cs / 1305376 / EventItfInfo.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices.TCEAdapterGen { using System; using System.Reflection; using System.Collections; internal class EventItfInfo { public EventItfInfo(String strEventItfName, String strSrcItfName, String strEventProviderName, RuntimeAssembly asmImport, RuntimeAssembly 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 RuntimeAssembly m_asmImport; private RuntimeAssembly 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.Collections; internal class EventItfInfo { public EventItfInfo(String strEventItfName, String strSrcItfName, String strEventProviderName, RuntimeAssembly asmImport, RuntimeAssembly 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 RuntimeAssembly m_asmImport; private RuntimeAssembly m_asmSrcItf; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeMemberEvent.cs
- Label.cs
- FormViewDeleteEventArgs.cs
- CodeConstructor.cs
- System.Data_BID.cs
- SymbolEqualComparer.cs
- MetaTable.cs
- GraphicsState.cs
- DateBoldEvent.cs
- AttributeData.cs
- RowSpanVector.cs
- Script.cs
- ErrorEventArgs.cs
- StringDictionaryWithComparer.cs
- StreamInfo.cs
- AppDomain.cs
- WriteTimeStream.cs
- XmlHierarchicalEnumerable.cs
- DateTimeFormatInfo.cs
- DataObject.cs
- GridViewRowEventArgs.cs
- BooleanStorage.cs
- Dynamic.cs
- TablePattern.cs
- ProcessRequestAsyncResult.cs
- Helper.cs
- BStrWrapper.cs
- CodeDefaultValueExpression.cs
- TextFormatterHost.cs
- smtpconnection.cs
- TranslateTransform.cs
- TextComposition.cs
- EncryptedReference.cs
- DataObjectMethodAttribute.cs
- TraversalRequest.cs
- CodeThrowExceptionStatement.cs
- WorkItem.cs
- SemaphoreSecurity.cs
- Section.cs
- TextInfo.cs
- ReaderWriterLock.cs
- RemotingException.cs
- AbstractDataSvcMapFileLoader.cs
- UInt32.cs
- PlatformCulture.cs
- ArcSegment.cs
- StyleConverter.cs
- SimpleTextLine.cs
- _OSSOCK.cs
- HttpRawResponse.cs
- ListViewCommandEventArgs.cs
- ExpressionBuilderCollection.cs
- WebPartManagerInternals.cs
- ParenthesizePropertyNameAttribute.cs
- MILUtilities.cs
- Triplet.cs
- CleanUpVirtualizedItemEventArgs.cs
- FirstMatchCodeGroup.cs
- NavigationWindow.cs
- EmbossBitmapEffect.cs
- CardSpaceShim.cs
- TypeLibConverter.cs
- CompleteWizardStep.cs
- SqlCacheDependency.cs
- WindowClosedEventArgs.cs
- XmlNavigatorStack.cs
- ClickablePoint.cs
- SimpleNameService.cs
- NamedElement.cs
- Baml2006ReaderSettings.cs
- DynamicPropertyHolder.cs
- HttpResponse.cs
- DeploymentSection.cs
- OneOfConst.cs
- RoleBoolean.cs
- PictureBox.cs
- EncodingInfo.cs
- AssemblyResourceLoader.cs
- PromptStyle.cs
- BrowserCapabilitiesFactory.cs
- SpecialNameAttribute.cs
- InheritanceRules.cs
- httpapplicationstate.cs
- AppDomainShutdownMonitor.cs
- FileSystemWatcher.cs
- DataGridViewComboBoxCell.cs
- RectConverter.cs
- Point3DCollectionConverter.cs
- ObjectToIdCache.cs
- Win32MouseDevice.cs
- SecurityTokenReferenceStyle.cs
- TextWriter.cs
- DeobfuscatingStream.cs
- GeneralTransformCollection.cs
- HtmlTable.cs
- CopyOnWriteList.cs
- CodeGroup.cs
- DataControlFieldsEditor.cs
- WindowsGraphicsCacheManager.cs
- TemplateControlBuildProvider.cs