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
- SiteMapPathDesigner.cs
- FileSystemEventArgs.cs
- DataSourceListEditor.cs
- HttpResponseInternalWrapper.cs
- EpmContentSerializerBase.cs
- ConsoleCancelEventArgs.cs
- FormatterConverter.cs
- HeaderLabel.cs
- DesignerOptionService.cs
- TimeZone.cs
- RefreshEventArgs.cs
- IdentityReference.cs
- WebReferencesBuildProvider.cs
- ImmutableObjectAttribute.cs
- HashJoinQueryOperatorEnumerator.cs
- SafeViewOfFileHandle.cs
- XmlAttributeOverrides.cs
- PersonalizableTypeEntry.cs
- PackageDigitalSignatureManager.cs
- Win32SafeHandles.cs
- RelatedPropertyManager.cs
- DataGridTableCollection.cs
- TextCollapsingProperties.cs
- SqlGatherConsumedAliases.cs
- UDPClient.cs
- IDQuery.cs
- BitmapImage.cs
- MatrixTransform.cs
- TraceSection.cs
- BatchServiceHost.cs
- Wizard.cs
- Expression.cs
- Msec.cs
- CacheRequest.cs
- EncoderBestFitFallback.cs
- ListControl.cs
- TerminatorSinks.cs
- ThreadNeutralSemaphore.cs
- DbRetry.cs
- Transactions.cs
- NaturalLanguageHyphenator.cs
- TemplateXamlTreeBuilder.cs
- httpstaticobjectscollection.cs
- ArgumentOutOfRangeException.cs
- XmlWellformedWriter.cs
- RenderContext.cs
- SafeFileMapViewHandle.cs
- NetworkAddressChange.cs
- SqlServices.cs
- CalendarSelectionChangedEventArgs.cs
- NumericUpDownAcceleration.cs
- TimersDescriptionAttribute.cs
- SessionSwitchEventArgs.cs
- TextHidden.cs
- FunctionUpdateCommand.cs
- CalendarDayButton.cs
- NativeMethods.cs
- HostingPreferredMapPath.cs
- XamlPoint3DCollectionSerializer.cs
- ConfigXmlAttribute.cs
- SuppressIldasmAttribute.cs
- CodeDelegateCreateExpression.cs
- WindowsToolbar.cs
- GlyphRunDrawing.cs
- ProgressBar.cs
- XmlCustomFormatter.cs
- querybuilder.cs
- BitmapVisualManager.cs
- ProcessExitedException.cs
- RuleCache.cs
- FormViewInsertedEventArgs.cs
- Executor.cs
- PrinterResolution.cs
- Grid.cs
- figurelength.cs
- Dictionary.cs
- XmlSerializerVersionAttribute.cs
- XmlSchemaSequence.cs
- Material.cs
- PasswordBoxAutomationPeer.cs
- PropertyGeneratedEventArgs.cs
- RelationshipDetailsRow.cs
- DiscoveryClientDuplexChannel.cs
- SqlTypeSystemProvider.cs
- PeoplePickerWrapper.cs
- TableStyle.cs
- ThrowHelper.cs
- TdsParserStaticMethods.cs
- WorkflowDebuggerSteppingAttribute.cs
- WorkflowInstance.cs
- CredentialCache.cs
- _SslStream.cs
- _NegoStream.cs
- ExpressionNode.cs
- EntityClassGenerator.cs
- SystemIPInterfaceStatistics.cs
- FragmentQuery.cs
- DateTimeFormat.cs
- MergeFailedEvent.cs
- TextDecoration.cs