Code:
/ DotNET / DotNET / 8.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
- TextTreeTextElementNode.cs
- ComplexTypeEmitter.cs
- LinqDataSourceView.cs
- XPathException.cs
- UnauthorizedAccessException.cs
- CollectionView.cs
- URL.cs
- HandlerMappingMemo.cs
- WebPartConnectionsConnectVerb.cs
- MenuItem.cs
- ControlCollection.cs
- PixelShader.cs
- UrlMappingsModule.cs
- ListBoxAutomationPeer.cs
- TraceContextRecord.cs
- ListContractAdapter.cs
- MenuBase.cs
- BindableAttribute.cs
- ToolStripLabel.cs
- Propagator.JoinPropagator.cs
- CodeObjectCreateExpression.cs
- DataControlImageButton.cs
- LeftCellWrapper.cs
- DeleteIndexBinder.cs
- UriSection.cs
- Errors.cs
- FileDialog_Vista_Interop.cs
- IsolatedStoragePermission.cs
- HostedElements.cs
- recordstate.cs
- MdImport.cs
- MSAAWinEventWrap.cs
- ComponentRenameEvent.cs
- RemotingServices.cs
- EpmContentDeSerializerBase.cs
- SqlException.cs
- ConvertEvent.cs
- MetadataHelper.cs
- BaseTemplateBuildProvider.cs
- ComponentChangingEvent.cs
- Vector3DConverter.cs
- SystemUdpStatistics.cs
- DataGridViewCellStyleBuilderDialog.cs
- TraceUtils.cs
- Rect3DConverter.cs
- SchemaRegistration.cs
- BuilderPropertyEntry.cs
- WindowsSlider.cs
- ErrorInfoXmlDocument.cs
- PasswordTextContainer.cs
- XmlDataContract.cs
- StringFreezingAttribute.cs
- NullReferenceException.cs
- InteropBitmapSource.cs
- UIPermission.cs
- GenericEnumerator.cs
- UIElementParagraph.cs
- TaskSchedulerException.cs
- Rules.cs
- QuaternionAnimationBase.cs
- FlowDocumentPaginator.cs
- ImageFormatConverter.cs
- SubstitutionDesigner.cs
- RectangleF.cs
- DataTableClearEvent.cs
- InputLangChangeEvent.cs
- NestedContainer.cs
- ManagementException.cs
- WindowsAuthenticationModule.cs
- Lock.cs
- ButtonColumn.cs
- AttributeEmitter.cs
- DiscoveryVersion.cs
- BitmapSizeOptions.cs
- SettingsAttributeDictionary.cs
- BaseTypeViewSchema.cs
- CodeTypeMemberCollection.cs
- HttpTransportSecurityElement.cs
- StrokeNodeOperations2.cs
- IDQuery.cs
- SessionStateItemCollection.cs
- RtfFormatStack.cs
- HttpConfigurationContext.cs
- CharAnimationBase.cs
- StateInitializationDesigner.cs
- CodeBlockBuilder.cs
- CanExecuteRoutedEventArgs.cs
- WebConfigurationHost.cs
- HyperLink.cs
- XmlLoader.cs
- StsCommunicationException.cs
- TextTreeText.cs
- CompilationUnit.cs
- InternalMappingException.cs
- SQLDoubleStorage.cs
- UnsafeNativeMethods.cs
- SafeRsaProviderHandle.cs
- InputReport.cs
- SoapHeaderException.cs
- AffineTransform3D.cs