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
- PackWebRequest.cs
- HighlightOverlayGlyph.cs
- PlatformNotSupportedException.cs
- AuthenticationModulesSection.cs
- DataGridSortCommandEventArgs.cs
- TransformerTypeCollection.cs
- TimelineGroup.cs
- DocumentOrderComparer.cs
- WebPartZoneCollection.cs
- DurableOperationContext.cs
- XmlResolver.cs
- SystemParameters.cs
- XPathAncestorIterator.cs
- validationstate.cs
- odbcmetadatacollectionnames.cs
- SoapFault.cs
- HttpInputStream.cs
- COM2IDispatchConverter.cs
- ContractMapping.cs
- FixUp.cs
- SoapMessage.cs
- XmlNamedNodeMap.cs
- ClientTargetCollection.cs
- ValidateNames.cs
- FormsAuthenticationConfiguration.cs
- InstanceBehavior.cs
- OdbcRowUpdatingEvent.cs
- X509Extension.cs
- ToolStripSystemRenderer.cs
- XmlNavigatorFilter.cs
- XmlSchemaRedefine.cs
- DESCryptoServiceProvider.cs
- Clipboard.cs
- ContentPresenter.cs
- OutputCache.cs
- AuthorizationSection.cs
- ConfigurationStrings.cs
- AuthenticationConfig.cs
- SiteMapSection.cs
- ApplicationManager.cs
- RuntimeCompatibilityAttribute.cs
- TempEnvironment.cs
- WebConfigurationManager.cs
- XPathDocumentIterator.cs
- EnvelopedSignatureTransform.cs
- ObjectListCommand.cs
- StreamGeometryContext.cs
- HtmlInputReset.cs
- MimeFormatExtensions.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- AuthenticationException.cs
- FormattedText.cs
- ImageConverter.cs
- WebPartConnectionsEventArgs.cs
- DBSqlParserColumnCollection.cs
- RubberbandSelector.cs
- CellLabel.cs
- ByteStorage.cs
- DateTimeFormatInfoScanner.cs
- BindToObject.cs
- sitestring.cs
- Panel.cs
- ConfigurationStrings.cs
- TextElementEditingBehaviorAttribute.cs
- CultureMapper.cs
- UrlUtility.cs
- FixedSOMPageElement.cs
- OutputWindow.cs
- DynamicRendererThreadManager.cs
- Form.cs
- Scheduling.cs
- SharedPerformanceCounter.cs
- SymbolType.cs
- dtdvalidator.cs
- ApplicationContext.cs
- UIntPtr.cs
- ResourceAssociationTypeEnd.cs
- ListManagerBindingsCollection.cs
- SmtpNetworkElement.cs
- ZoneButton.cs
- PasswordBoxAutomationPeer.cs
- LoginDesignerUtil.cs
- XpsImage.cs
- StylusPlugInCollection.cs
- AttachedPropertyMethodSelector.cs
- XamlStream.cs
- LoginView.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- CommandBinding.cs
- NativeMethods.cs
- XmlIlVisitor.cs
- _LocalDataStoreMgr.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- EncoderExceptionFallback.cs
- SQLDoubleStorage.cs
- DataServiceBuildProvider.cs
- PropertyInformationCollection.cs
- DependencyPropertyValueSerializer.cs
- safesecurityhelperavalon.cs
- TextAnchor.cs