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
- PropertyMap.cs
- MultilineStringConverter.cs
- PKCS1MaskGenerationMethod.cs
- ProjectionCamera.cs
- Policy.cs
- DefaultDiscoveryServiceExtension.cs
- DesignerCommandSet.cs
- DynamicResourceExtensionConverter.cs
- XmlDocumentSerializer.cs
- XmlNodeReader.cs
- DesignerTransactionCloseEvent.cs
- PropertyGeneratedEventArgs.cs
- WebPartConnectionsCancelEventArgs.cs
- LineSegment.cs
- ColorConvertedBitmap.cs
- BrowserCapabilitiesCompiler.cs
- EpmTargetPathSegment.cs
- HostingEnvironmentException.cs
- ServiceHostingEnvironmentSection.cs
- SHA512Managed.cs
- XmlDataSourceView.cs
- OdbcConnection.cs
- ValueExpressions.cs
- WebServiceData.cs
- TypefaceMap.cs
- EventHandlerList.cs
- SqlCommandSet.cs
- DefaultValidator.cs
- XhtmlConformanceSection.cs
- RequestCacheManager.cs
- CompatibleComparer.cs
- XmlSchema.cs
- Int16Animation.cs
- PlaceHolder.cs
- XmlTypeMapping.cs
- SiblingIterators.cs
- XmlTypeAttribute.cs
- MimeObjectFactory.cs
- InvalidChannelBindingException.cs
- DependencyObjectProvider.cs
- Image.cs
- TextLine.cs
- ACE.cs
- XsltConvert.cs
- ISCIIEncoding.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- SecurityException.cs
- EffectiveValueEntry.cs
- BinaryCommonClasses.cs
- HwndSourceParameters.cs
- SelectionWordBreaker.cs
- MaskDescriptor.cs
- SamlSecurityToken.cs
- DeviceSpecificChoiceCollection.cs
- LinqDataSourceContextData.cs
- XmlElement.cs
- BuildManagerHost.cs
- DelegateArgument.cs
- FilterQueryOptionExpression.cs
- PointValueSerializer.cs
- ToolBar.cs
- SQLMembershipProvider.cs
- LayoutDump.cs
- RectIndependentAnimationStorage.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- StorageComplexTypeMapping.cs
- SQLInt32.cs
- ThaiBuddhistCalendar.cs
- Trace.cs
- XamlReaderHelper.cs
- SpellerHighlightLayer.cs
- ControlBuilder.cs
- MDIWindowDialog.cs
- XpsS0ValidatingLoader.cs
- ValueTypeFixupInfo.cs
- SupportsEventValidationAttribute.cs
- SHA256Cng.cs
- DocumentEventArgs.cs
- CodeVariableReferenceExpression.cs
- Rotation3DAnimationBase.cs
- SoapAttributes.cs
- Interlocked.cs
- HtmlForm.cs
- ReadOnlyHierarchicalDataSource.cs
- InternalPolicyElement.cs
- ListSortDescriptionCollection.cs
- HttpCachePolicy.cs
- ApplicationSecurityManager.cs
- SqlBooleanMismatchVisitor.cs
- KnownTypesHelper.cs
- PageCatalogPart.cs
- SweepDirectionValidation.cs
- TargetControlTypeCache.cs
- contentDescriptor.cs
- Point3D.cs
- PageParserFilter.cs
- DetailsViewCommandEventArgs.cs
- CFStream.cs
- EventlogProvider.cs
- StreamingContext.cs