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
- AtomContentProperty.cs
- nulltextcontainer.cs
- TemplateApplicationHelper.cs
- CodeTypeReferenceExpression.cs
- ToolStripContentPanelRenderEventArgs.cs
- SynchronizedInputProviderWrapper.cs
- CompilerErrorCollection.cs
- CollectionContainer.cs
- EmbeddedObject.cs
- CacheHelper.cs
- PreviewPrintController.cs
- SimpleWorkerRequest.cs
- CorrelationManager.cs
- _LocalDataStoreMgr.cs
- XmlSchemaDatatype.cs
- SqlDataSource.cs
- ChangeToolStripParentVerb.cs
- EmptyControlCollection.cs
- RenderDataDrawingContext.cs
- wgx_commands.cs
- SourceFileBuildProvider.cs
- BidPrivateBase.cs
- QilSortKey.cs
- SizeKeyFrameCollection.cs
- EntityContainerEmitter.cs
- EntityCommand.cs
- XPathDocumentNavigator.cs
- PartialList.cs
- ReaderWriterLock.cs
- ToolStripPanelCell.cs
- InputBuffer.cs
- HtmlElementCollection.cs
- TextMarkerSource.cs
- ClientSession.cs
- ListViewItem.cs
- DocumentDesigner.cs
- ServerTooBusyException.cs
- TrackingMemoryStreamFactory.cs
- DataGridAddNewRow.cs
- SimpleBitVector32.cs
- LeaseManager.cs
- BinaryOperationBinder.cs
- XPathAxisIterator.cs
- Imaging.cs
- DesignerOptionService.cs
- DiscriminatorMap.cs
- DiscriminatorMap.cs
- AutoFocusStyle.xaml.cs
- OleDbWrapper.cs
- CodeVariableReferenceExpression.cs
- StyleXamlTreeBuilder.cs
- AttributeEmitter.cs
- Msec.cs
- FtpWebResponse.cs
- PublisherIdentityPermission.cs
- FlowDocument.cs
- ADMembershipProvider.cs
- SecurityPolicySection.cs
- ListViewInsertionMark.cs
- AttachedPropertyBrowsableAttribute.cs
- MinimizableAttributeTypeConverter.cs
- AnimationException.cs
- Knowncolors.cs
- EastAsianLunisolarCalendar.cs
- SqlMethodAttribute.cs
- PartialCachingControl.cs
- HelloMessageApril2005.cs
- SerializationSectionGroup.cs
- SR.cs
- ZipPackagePart.cs
- PropertyManager.cs
- GeneralTransform2DTo3DTo2D.cs
- SamlSubject.cs
- ZeroOpNode.cs
- GridViewRowEventArgs.cs
- CellParagraph.cs
- ConditionValidator.cs
- ILGenerator.cs
- TextPattern.cs
- LedgerEntry.cs
- Mapping.cs
- EventItfInfo.cs
- DataGridViewButtonCell.cs
- RegistryPermission.cs
- MeasureItemEvent.cs
- DecoderBestFitFallback.cs
- CodeGenerationManager.cs
- InvalidComObjectException.cs
- DataRowExtensions.cs
- COSERVERINFO.cs
- SchemaInfo.cs
- RulePatternOps.cs
- TextAdaptor.cs
- HtmlWindow.cs
- DataGridPageChangedEventArgs.cs
- View.cs
- MouseGesture.cs
- DataServiceOperationContext.cs
- SQLBinary.cs
- TableSectionStyle.cs