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
- SqlDataReader.cs
- RewritingSimplifier.cs
- GeometryValueSerializer.cs
- Buffer.cs
- EntityContainerAssociationSetEnd.cs
- XamlBrushSerializer.cs
- MailWebEventProvider.cs
- TextHidden.cs
- ContextBase.cs
- AdornerPresentationContext.cs
- SystemMulticastIPAddressInformation.cs
- DrawingBrush.cs
- PlainXmlDeserializer.cs
- StylusButton.cs
- SHA256Managed.cs
- StreamWithDictionary.cs
- ClientBuildManager.cs
- XPathSingletonIterator.cs
- XmlSchemaComplexContentExtension.cs
- WindowsUpDown.cs
- Model3DCollection.cs
- ContextMenuStrip.cs
- HtmlString.cs
- DesignerLoader.cs
- SpecularMaterial.cs
- RSACryptoServiceProvider.cs
- HorizontalAlignConverter.cs
- CodeNamespaceImport.cs
- Roles.cs
- CommandHelpers.cs
- httpapplicationstate.cs
- OpCodes.cs
- RelationshipDetailsRow.cs
- VirtualPathProvider.cs
- PasswordRecovery.cs
- SystemWebSectionGroup.cs
- XmlWhitespace.cs
- MeasurementDCInfo.cs
- Int16.cs
- XmlSchemaComplexContentExtension.cs
- util.cs
- PointCollectionValueSerializer.cs
- EntityClientCacheKey.cs
- RegistrationServices.cs
- MailAddress.cs
- BehaviorService.cs
- RecognizedAudio.cs
- _NestedMultipleAsyncResult.cs
- CompositeTypefaceMetrics.cs
- ParameterBuilder.cs
- AttributeProviderAttribute.cs
- _NestedSingleAsyncResult.cs
- ConstructorNeedsTagAttribute.cs
- KeyFrames.cs
- MLangCodePageEncoding.cs
- PersianCalendar.cs
- OletxVolatileEnlistment.cs
- ProvidePropertyAttribute.cs
- Native.cs
- StoragePropertyMapping.cs
- AuthenticationException.cs
- MemberExpression.cs
- MessageQueueKey.cs
- MemoryRecordBuffer.cs
- Faults.cs
- XmlSchemaComplexType.cs
- DPAPIProtectedConfigurationProvider.cs
- ContainerParagraph.cs
- SelectionRange.cs
- SpeechRecognitionEngine.cs
- JournalEntryStack.cs
- EndOfStreamException.cs
- WhitespaceReader.cs
- ConvertEvent.cs
- CacheForPrimitiveTypes.cs
- MemberCollection.cs
- EnumBuilder.cs
- DbUpdateCommandTree.cs
- RightsManagementInformation.cs
- CodeTypeConstructor.cs
- HttpProfileGroupBase.cs
- PropertyTab.cs
- IndependentlyAnimatedPropertyMetadata.cs
- XamlVector3DCollectionSerializer.cs
- PriorityQueue.cs
- Color.cs
- PrintDocument.cs
- SizeAnimationClockResource.cs
- PeerCollaborationPermission.cs
- StorageScalarPropertyMapping.cs
- ClientApiGenerator.cs
- SafeFileMappingHandle.cs
- ServiceBusyException.cs
- CmsUtils.cs
- MetaColumn.cs
- Clipboard.cs
- TemplateControlCodeDomTreeGenerator.cs
- BufferModeSettings.cs
- BinarySecretKeyIdentifierClause.cs
- AccessText.cs