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
- Helper.cs
- DropShadowBitmapEffect.cs
- RowType.cs
- BitmapSizeOptions.cs
- RemotingSurrogateSelector.cs
- WebPartConnectionsCloseVerb.cs
- SqlServices.cs
- DrawListViewItemEventArgs.cs
- ObjectIDGenerator.cs
- SplineKeyFrames.cs
- ClientScriptManager.cs
- DtrList.cs
- ThicknessAnimation.cs
- DataGridParentRows.cs
- ExpressionEvaluator.cs
- WebPartTransformer.cs
- StateManagedCollection.cs
- Compensation.cs
- NonVisualControlAttribute.cs
- ListViewSelectEventArgs.cs
- EmitterCache.cs
- SolidColorBrush.cs
- DoubleLinkList.cs
- NonClientArea.cs
- FontDriver.cs
- DesignerValidationSummaryAdapter.cs
- StickyNoteAnnotations.cs
- HtmlListAdapter.cs
- TitleStyle.cs
- SoapConverter.cs
- OrderedDictionary.cs
- WebMethodAttribute.cs
- InputChannelAcceptor.cs
- ConstrainedDataObject.cs
- _StreamFramer.cs
- QilGenerator.cs
- GrabHandleGlyph.cs
- DynamicQueryableWrapper.cs
- MessagePartProtectionMode.cs
- AncestorChangedEventArgs.cs
- EnumCodeDomSerializer.cs
- HMACSHA384.cs
- ImageInfo.cs
- GridViewCommandEventArgs.cs
- _SSPIWrapper.cs
- TextElementCollection.cs
- TextEncodedRawTextWriter.cs
- _OSSOCK.cs
- RowToFieldTransformer.cs
- NullableIntAverageAggregationOperator.cs
- EventLogQuery.cs
- SkewTransform.cs
- WmlValidationSummaryAdapter.cs
- CommonRemoteMemoryBlock.cs
- SqlWriter.cs
- SystemEvents.cs
- DataControlCommands.cs
- ReadOnlyObservableCollection.cs
- IgnoreSection.cs
- HttpApplicationFactory.cs
- SafeHandles.cs
- OdbcConnectionFactory.cs
- xmlglyphRunInfo.cs
- DocumentViewerBaseAutomationPeer.cs
- WCFModelStrings.Designer.cs
- CriticalHandle.cs
- ColorIndependentAnimationStorage.cs
- FontUnit.cs
- ReferentialConstraint.cs
- DbProviderFactoriesConfigurationHandler.cs
- TimeSpanValidatorAttribute.cs
- XmlMapping.cs
- ServiceMetadataContractBehavior.cs
- ErrorProvider.cs
- SoapAttributes.cs
- DesignerTransactionCloseEvent.cs
- ITreeGenerator.cs
- DataGridViewRowsAddedEventArgs.cs
- SqlBuffer.cs
- SelectionRangeConverter.cs
- AnnotationHelper.cs
- NotifyParentPropertyAttribute.cs
- ProjectionPath.cs
- TextEditorMouse.cs
- TextElementCollectionHelper.cs
- Compensate.cs
- TextEditorLists.cs
- ByteFacetDescriptionElement.cs
- RegexTree.cs
- XXXInfos.cs
- DBConnection.cs
- TransformProviderWrapper.cs
- ParallelQuery.cs
- SqlGatherProducedAliases.cs
- SHA384Managed.cs
- HelpKeywordAttribute.cs
- EntityViewGenerationAttribute.cs
- BinHexEncoder.cs
- EntityClassGenerator.cs
- XmlSchemaChoice.cs