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
- WindowsStartMenu.cs
- Util.cs
- Application.cs
- KoreanLunisolarCalendar.cs
- ProfileServiceManager.cs
- ScriptManagerProxy.cs
- OleDbFactory.cs
- CharacterMetrics.cs
- XmlLinkedNode.cs
- Transactions.cs
- HttpHeaderCollection.cs
- Directory.cs
- BinaryFormatterWriter.cs
- ExtentKey.cs
- ClientSettingsProvider.cs
- URLString.cs
- EntityConnectionStringBuilder.cs
- SafeSecurityHandles.cs
- SQLRoleProvider.cs
- ThaiBuddhistCalendar.cs
- NullableBoolConverter.cs
- WebPartConnectionsConnectVerb.cs
- DbDataReader.cs
- UDPClient.cs
- FormViewCommandEventArgs.cs
- LayoutTable.cs
- ApplicationException.cs
- FlowPosition.cs
- ValidatorUtils.cs
- HyperLink.cs
- FormViewModeEventArgs.cs
- ConnectionManagementElementCollection.cs
- ProofTokenCryptoHandle.cs
- GridViewEditEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- ImageCollectionEditor.cs
- FixedSOMFixedBlock.cs
- TemplateColumn.cs
- webproxy.cs
- Funcletizer.cs
- MessageRpc.cs
- SignedPkcs7.cs
- PeerCustomResolverBindingElement.cs
- PerformanceCounterManager.cs
- TransactionException.cs
- PixelFormat.cs
- ImageIndexConverter.cs
- InkCanvas.cs
- COM2EnumConverter.cs
- MetadataItemEmitter.cs
- DataBoundControlHelper.cs
- Merger.cs
- TableLayout.cs
- CommunicationObjectManager.cs
- ControlParameter.cs
- PrimitiveXmlSerializers.cs
- RadioButtonPopupAdapter.cs
- Rectangle.cs
- Padding.cs
- SqlDataSourceFilteringEventArgs.cs
- TextContainerChangeEventArgs.cs
- RevocationPoint.cs
- RoutingBehavior.cs
- MailMessageEventArgs.cs
- SingleKeyFrameCollection.cs
- InteropBitmapSource.cs
- TableLayoutCellPaintEventArgs.cs
- TabControlDesigner.cs
- activationcontext.cs
- SemaphoreSecurity.cs
- CatalogPart.cs
- LinkedResource.cs
- DataControlFieldHeaderCell.cs
- ToolStripTextBox.cs
- AlphaSortedEnumConverter.cs
- HuffmanTree.cs
- AspNetSynchronizationContext.cs
- XmlSchemaObjectTable.cs
- DataGridColumnCollection.cs
- RenderDataDrawingContext.cs
- CallbackTimeoutsBehavior.cs
- RawMouseInputReport.cs
- ByteKeyFrameCollection.cs
- UnsafeNativeMethods.cs
- StateMachine.cs
- BasicKeyConstraint.cs
- Geometry3D.cs
- WSTrust.cs
- CollectionViewProxy.cs
- CollectionMarkupSerializer.cs
- ControlPropertyNameConverter.cs
- StrongNameIdentityPermission.cs
- _AutoWebProxyScriptEngine.cs
- XmlAutoDetectWriter.cs
- ReadOnlyNameValueCollection.cs
- TableNameAttribute.cs
- ISO2022Encoding.cs
- FixedTextContainer.cs
- HandlerBase.cs
- RSAOAEPKeyExchangeFormatter.cs