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
- GeneralTransformCollection.cs
- QilName.cs
- StylusPointProperty.cs
- XmlNodeReader.cs
- SqlDataSourceSelectingEventArgs.cs
- ValidationError.cs
- UIHelper.cs
- SqlRowUpdatedEvent.cs
- SystemTcpConnection.cs
- ShimAsPublicXamlType.cs
- Border.cs
- CodeAccessPermission.cs
- RoutingExtension.cs
- PointCollection.cs
- EntityDataSourceWizardForm.cs
- DynamicDocumentPaginator.cs
- ResourceDictionary.cs
- AsyncStreamReader.cs
- Util.cs
- ADConnectionHelper.cs
- EnterpriseServicesHelper.cs
- LocationUpdates.cs
- GetRecipientRequest.cs
- MouseEvent.cs
- HttpStreams.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- MulticastNotSupportedException.cs
- PartitionResolver.cs
- UnmanagedBitmapWrapper.cs
- QilSortKey.cs
- GroupBox.cs
- ProcessProtocolHandler.cs
- DataGridRow.cs
- HijriCalendar.cs
- ImageListImageEditor.cs
- MenuItemStyleCollection.cs
- path.cs
- _LoggingObject.cs
- IOThreadTimer.cs
- PlacementWorkspace.cs
- AuthenticationManager.cs
- Utils.cs
- GlobalizationSection.cs
- ProjectionCamera.cs
- AddInAttribute.cs
- TextSearch.cs
- ObjectDisposedException.cs
- KeyValueInternalCollection.cs
- TreeNodeConverter.cs
- LessThanOrEqual.cs
- ExceptQueryOperator.cs
- StringExpressionSet.cs
- ComplusTypeValidator.cs
- XmlEntityReference.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- EntityModelBuildProvider.cs
- XPathNodeHelper.cs
- SoapObjectReader.cs
- WindowsNonControl.cs
- ProfilePropertyNameValidator.cs
- WebPartMinimizeVerb.cs
- MetricEntry.cs
- BasePropertyDescriptor.cs
- ParameterModifier.cs
- KeyConstraint.cs
- ClientSettings.cs
- DateTimeParse.cs
- DataObjectPastingEventArgs.cs
- Calendar.cs
- TextTreeFixupNode.cs
- GroupItem.cs
- DBCommand.cs
- TimeSpanSecondsConverter.cs
- ApplicationManager.cs
- SerializationEventsCache.cs
- Vector3DValueSerializer.cs
- ContextMenuStrip.cs
- WebPartZoneCollection.cs
- SizeAnimationBase.cs
- EntitySqlQueryCacheEntry.cs
- Graphics.cs
- XPathArrayIterator.cs
- PeerDuplexChannel.cs
- HtmlControl.cs
- Timeline.cs
- EnumType.cs
- ProfileEventArgs.cs
- XpsSerializerFactory.cs
- XmlSchemaAnyAttribute.cs
- ClientRoleProvider.cs
- ProcessHostConfigUtils.cs
- TextFindEngine.cs
- TriggerActionCollection.cs
- InstanceDescriptor.cs
- LoaderAllocator.cs
- HostProtectionException.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- NameSpaceEvent.cs
- SoapWriter.cs
- Converter.cs