Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGrid.cs
- TreeNodeCollectionEditor.cs
- OutOfProcStateClientManager.cs
- MappingException.cs
- SHA384Cng.cs
- ObjectAnimationUsingKeyFrames.cs
- BufferedGraphicsManager.cs
- TreeNodeSelectionProcessor.cs
- PermissionToken.cs
- Message.cs
- PropertyInformation.cs
- WmfPlaceableFileHeader.cs
- StylusCaptureWithinProperty.cs
- IpcChannel.cs
- CreateUserWizardStep.cs
- DataGridCellInfo.cs
- AnnotationHelper.cs
- StylusPlugin.cs
- VectorAnimationUsingKeyFrames.cs
- ErrorStyle.cs
- StateMachineWorkflowInstance.cs
- PreviewKeyDownEventArgs.cs
- CompletedAsyncResult.cs
- SchemaNames.cs
- DataGridDesigner.cs
- DataGridLinkButton.cs
- Exceptions.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- RegistryHandle.cs
- APCustomTypeDescriptor.cs
- XslTransform.cs
- Module.cs
- HtmlString.cs
- TextEndOfParagraph.cs
- PointAnimationBase.cs
- HtmlShimManager.cs
- PaperSource.cs
- XmlCodeExporter.cs
- AbandonedMutexException.cs
- Transform.cs
- Size3DValueSerializer.cs
- StylusDownEventArgs.cs
- FixedSOMLineCollection.cs
- TemplateApplicationHelper.cs
- Link.cs
- SignatureResourceHelper.cs
- XPathDescendantIterator.cs
- CodeComment.cs
- TextAnchor.cs
- RichTextBoxDesigner.cs
- SystemIPInterfaceProperties.cs
- CustomTypeDescriptor.cs
- ShaderEffect.cs
- BindingExpressionUncommonField.cs
- SplitterEvent.cs
- PathTooLongException.cs
- ImageField.cs
- ManagedWndProcTracker.cs
- AccessibleObject.cs
- FormViewPagerRow.cs
- XmlSchemaRedefine.cs
- VideoDrawing.cs
- HttpResponse.cs
- ParseNumbers.cs
- XmlRootAttribute.cs
- PriorityQueue.cs
- EpmContentSerializerBase.cs
- KeyedCollection.cs
- _OverlappedAsyncResult.cs
- XamlSerializer.cs
- WinFormsSecurity.cs
- ObjectIDGenerator.cs
- WindowsRegion.cs
- BinaryReader.cs
- DocumentGrid.cs
- HttpModuleAction.cs
- EntityStoreSchemaFilterEntry.cs
- RenderDataDrawingContext.cs
- PartialTrustValidationBehavior.cs
- EntityConnectionStringBuilderItem.cs
- AbandonedMutexException.cs
- Context.cs
- StyleSelector.cs
- ExpressionBuilder.cs
- ErrorView.xaml.cs
- StrongName.cs
- BindingUtils.cs
- DeploymentExceptionMapper.cs
- ObsoleteAttribute.cs
- Int32CAMarshaler.cs
- BeginStoryboard.cs
- HostProtectionException.cs
- FixUpCollection.cs
- SqlUtils.cs
- securitycriticaldataformultiplegetandset.cs
- _LocalDataStore.cs
- AppDomainCompilerProxy.cs
- brushes.cs
- Region.cs
- TheQuery.cs