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
- DebuggerAttributes.cs
- ExceptionRoutedEventArgs.cs
- XmlBinaryReader.cs
- ReadOnlyNameValueCollection.cs
- ProtocolsConfigurationEntry.cs
- CompilerCollection.cs
- DataBindingExpressionBuilder.cs
- XmlText.cs
- SafeLibraryHandle.cs
- TcpProcessProtocolHandler.cs
- XmlArrayItemAttributes.cs
- CheckBox.cs
- SqlMethodCallConverter.cs
- ScriptControl.cs
- IsolatedStorageFilePermission.cs
- MemberPathMap.cs
- SingleAnimationBase.cs
- MarkupExtensionParser.cs
- ClientRoleProvider.cs
- SQLSingleStorage.cs
- CodeTypeDelegate.cs
- _SslSessionsCache.cs
- serverconfig.cs
- RC2.cs
- EntityDataSourceWrapperCollection.cs
- CommandConverter.cs
- InvalidEnumArgumentException.cs
- ExpressionsCollectionConverter.cs
- EventNotify.cs
- SerialReceived.cs
- XsdValidatingReader.cs
- OleDbParameterCollection.cs
- StylusPointDescription.cs
- UInt32Storage.cs
- InstanceDescriptor.cs
- COM2PropertyPageUITypeConverter.cs
- EventListener.cs
- DesignerObjectListAdapter.cs
- CalendarDataBindingHandler.cs
- LocalFileSettingsProvider.cs
- ContextTokenTypeConverter.cs
- ReaderContextStackData.cs
- DetailsViewPageEventArgs.cs
- COM2ExtendedUITypeEditor.cs
- ListControlDesigner.cs
- ItemCollection.cs
- EntityContainer.cs
- ExpandCollapseProviderWrapper.cs
- UpdateProgress.cs
- SettingsPropertyIsReadOnlyException.cs
- OdbcException.cs
- EntitySqlQueryState.cs
- GenerateTemporaryTargetAssembly.cs
- SchemaImporterExtensionElementCollection.cs
- PolicyException.cs
- DataGridViewCellConverter.cs
- CqlLexerHelpers.cs
- DefaultAsyncDataDispatcher.cs
- SelectedGridItemChangedEvent.cs
- BufferedGraphics.cs
- BinaryReader.cs
- ScaleTransform3D.cs
- JsonGlobals.cs
- smtppermission.cs
- ClientUtils.cs
- LinqDataSourceDeleteEventArgs.cs
- SecurityUtils.cs
- DataGridViewToolTip.cs
- ToolStripPanelRow.cs
- ItemsPanelTemplate.cs
- HScrollBar.cs
- Attributes.cs
- ListViewContainer.cs
- XXXInfos.cs
- Aes.cs
- MethodToken.cs
- DataGridViewRowsRemovedEventArgs.cs
- SafeLibraryHandle.cs
- Certificate.cs
- EventMappingSettings.cs
- FixedSOMLineRanges.cs
- CheckableControlBaseAdapter.cs
- CngKeyBlobFormat.cs
- DetailsViewCommandEventArgs.cs
- XmlNamespaceMapping.cs
- SequentialUshortCollection.cs
- ColumnResizeUndoUnit.cs
- SwitchDesigner.xaml.cs
- MetadataImporterQuotas.cs
- XmlSecureResolver.cs
- HelloMessage11.cs
- SqlOuterApplyReducer.cs
- XmlNamespaceDeclarationsAttribute.cs
- XmlConvert.cs
- SystemWebCachingSectionGroup.cs
- BitArray.cs
- SqlTransaction.cs
- AttributeProviderAttribute.cs
- JsonReader.cs
- Classification.cs