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
- AssociatedControlConverter.cs
- ProfileEventArgs.cs
- shaper.cs
- DataGridViewCellValueEventArgs.cs
- CommandID.cs
- MessageEncodingBindingElementImporter.cs
- IdlingCommunicationPool.cs
- LogicalExpressionEditor.cs
- CombinedGeometry.cs
- PropertySourceInfo.cs
- TemplateBindingExpressionConverter.cs
- DatagridviewDisplayedBandsData.cs
- CodeExpressionCollection.cs
- SelectingProviderEventArgs.cs
- ExpandableObjectConverter.cs
- ProfileSettings.cs
- RegexWorker.cs
- SqlServer2KCompatibilityCheck.cs
- DBConnectionString.cs
- XpsFilter.cs
- Debug.cs
- GridViewRow.cs
- SelectionEditor.cs
- PriorityItem.cs
- TableAdapterManagerGenerator.cs
- SingleObjectCollection.cs
- WindowCollection.cs
- CompilerLocalReference.cs
- MethodRental.cs
- EdmComplexPropertyAttribute.cs
- RefType.cs
- TreeNodeStyle.cs
- NativeMethods.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- SqlClientWrapperSmiStream.cs
- MultilineStringConverter.cs
- WebPartsSection.cs
- HtmlGenericControl.cs
- PropertyInformationCollection.cs
- TakeOrSkipQueryOperator.cs
- SqlFunctionAttribute.cs
- WebBrowserEvent.cs
- RetrieveVirtualItemEventArgs.cs
- UnionExpr.cs
- TileBrush.cs
- ProtocolsConfigurationHandler.cs
- DefaultPrintController.cs
- GenericUriParser.cs
- ActivityDesigner.cs
- CompositeDesignerAccessibleObject.cs
- HierarchicalDataSourceControl.cs
- Group.cs
- TemplateColumn.cs
- FlowLayout.cs
- HeaderedContentControl.cs
- MarkupExtensionReturnTypeAttribute.cs
- ObjectQueryExecutionPlan.cs
- WindowsGraphics2.cs
- BaseAddressPrefixFilterElementCollection.cs
- LocationSectionRecord.cs
- ReferencedType.cs
- RemotingAttributes.cs
- IMembershipProvider.cs
- WpfXamlLoader.cs
- Grant.cs
- XmlCompatibilityReader.cs
- Adorner.cs
- PageHandlerFactory.cs
- TextDecorations.cs
- AsmxEndpointPickerExtension.cs
- UrlMappingsModule.cs
- SystemIPv4InterfaceProperties.cs
- MdiWindowListStrip.cs
- UriTemplate.cs
- ConnectionManagementElement.cs
- RightNameExpirationInfoPair.cs
- SecurityTokenAttachmentMode.cs
- JapaneseCalendar.cs
- Pair.cs
- ExecutedRoutedEventArgs.cs
- namescope.cs
- NullableConverter.cs
- RenamedEventArgs.cs
- FileReservationCollection.cs
- SqlFlattener.cs
- OracleColumn.cs
- StrongNameHelpers.cs
- InternalConfigRoot.cs
- BufferedStream.cs
- XmlSchemaAttributeGroupRef.cs
- AutoGeneratedFieldProperties.cs
- CellTreeNodeVisitors.cs
- BinaryObjectWriter.cs
- CqlLexer.cs
- BoundField.cs
- SafeSystemMetrics.cs
- Floater.cs
- PersonalizableAttribute.cs
- HTMLTagNameToTypeMapper.cs
- RoleService.cs