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
- Transform.cs
- AlgoModule.cs
- InternalDispatchObject.cs
- PersistenceContext.cs
- TdsValueSetter.cs
- PowerStatus.cs
- InternalsVisibleToAttribute.cs
- HttpModulesSection.cs
- Point3DCollectionConverter.cs
- XmlTypeMapping.cs
- StorageComplexPropertyMapping.cs
- NodeFunctions.cs
- ResXFileRef.cs
- ApplicationFileParser.cs
- ButtonChrome.cs
- TrackingValidationObjectDictionary.cs
- DataGridViewCellLinkedList.cs
- IRCollection.cs
- SchemaImporterExtension.cs
- XmlSchemaProviderAttribute.cs
- MergablePropertyAttribute.cs
- SqlParameter.cs
- StreamReader.cs
- EntityDataSourceWrapper.cs
- SecurityMode.cs
- View.cs
- WebCategoryAttribute.cs
- ExpressionVisitor.cs
- _DigestClient.cs
- embossbitmapeffect.cs
- TreeViewDataItemAutomationPeer.cs
- DrawingContextDrawingContextWalker.cs
- NetworkCredential.cs
- RawStylusInputCustomData.cs
- OdbcConnectionString.cs
- log.cs
- TypeDescriptionProvider.cs
- NameValuePermission.cs
- MappingModelBuildProvider.cs
- ObfuscateAssemblyAttribute.cs
- WorkflowInstanceProvider.cs
- Model3D.cs
- IgnoreSectionHandler.cs
- JumpTask.cs
- CultureMapper.cs
- TableRow.cs
- WebPartEditorOkVerb.cs
- InvalidOperationException.cs
- ValueConversionAttribute.cs
- DataGridClipboardHelper.cs
- CompiledQuery.cs
- MasterPageBuildProvider.cs
- PartialCachingControl.cs
- ListViewInsertionMark.cs
- TableCell.cs
- DataObjectMethodAttribute.cs
- FileChangeNotifier.cs
- MonthCalendar.cs
- AppModelKnownContentFactory.cs
- WriteStateInfoBase.cs
- UnsignedPublishLicense.cs
- MetadataSource.cs
- ToolStripSeparator.cs
- RichTextBox.cs
- CodeDirectiveCollection.cs
- ImpersonationContext.cs
- TabRenderer.cs
- CodeRegionDirective.cs
- GifBitmapDecoder.cs
- DataBindEngine.cs
- VersionedStreamOwner.cs
- Trace.cs
- StylusPointPropertyId.cs
- ThousandthOfEmRealPoints.cs
- MultipleViewPattern.cs
- SocketAddress.cs
- MatrixAnimationBase.cs
- EmptyReadOnlyDictionaryInternal.cs
- HttpListener.cs
- GreaterThan.cs
- DataSourceSelectArguments.cs
- Point.cs
- ChainOfResponsibility.cs
- SortKey.cs
- ElapsedEventArgs.cs
- ProcessModelSection.cs
- SystemDropShadowChrome.cs
- HtmlInputImage.cs
- NestPullup.cs
- WeakReferenceList.cs
- EncryptedKey.cs
- PlainXmlWriter.cs
- dbdatarecord.cs
- HttpCookiesSection.cs
- InstanceOwnerQueryResult.cs
- AssertFilter.cs
- Literal.cs
- DriveInfo.cs
- Icon.cs
- OperandQuery.cs