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
- PerformanceCounterManager.cs
- DbException.cs
- WindowsAuthenticationModule.cs
- FontEmbeddingManager.cs
- NonParentingControl.cs
- WebPartHelpVerb.cs
- ServiceElementCollection.cs
- CacheMemory.cs
- SecurityContext.cs
- BindUriHelper.cs
- WinCategoryAttribute.cs
- CompilerTypeWithParams.cs
- SystemPens.cs
- BrowserCapabilitiesCompiler.cs
- InputLanguage.cs
- ProcessHostConfigUtils.cs
- WindowsListViewGroup.cs
- SizeLimitedCache.cs
- SQlBooleanStorage.cs
- FontNameConverter.cs
- ConfigurationSectionCollection.cs
- DataTableMapping.cs
- WebContext.cs
- FamilyMapCollection.cs
- ViewCellRelation.cs
- RemotingAttributes.cs
- DrawingContextDrawingContextWalker.cs
- RuleCache.cs
- AnnotationComponentChooser.cs
- SHA384Cng.cs
- precedingsibling.cs
- CollectionBase.cs
- TextEditorCopyPaste.cs
- FilterableAttribute.cs
- PrintingPermissionAttribute.cs
- LicenseContext.cs
- DispatcherHookEventArgs.cs
- BaseDataList.cs
- ActivityUtilities.cs
- ComponentCollection.cs
- UnmanagedHandle.cs
- WebPartDescription.cs
- EventHandlerList.cs
- NewItemsContextMenuStrip.cs
- RequestCacheValidator.cs
- OutputCacheProviderCollection.cs
- AssertHelper.cs
- MembershipAdapter.cs
- StreamSecurityUpgradeProvider.cs
- messageonlyhwndwrapper.cs
- XmlSchema.cs
- XPathEmptyIterator.cs
- SmtpException.cs
- IODescriptionAttribute.cs
- PngBitmapEncoder.cs
- XdrBuilder.cs
- Perspective.cs
- PropertyRecord.cs
- NullableFloatMinMaxAggregationOperator.cs
- Trace.cs
- ListView.cs
- SafeHandle.cs
- DBBindings.cs
- CodeLinePragma.cs
- SequentialWorkflowHeaderFooter.cs
- StringFreezingAttribute.cs
- XmlTextAttribute.cs
- ADConnectionHelper.cs
- SmtpDigestAuthenticationModule.cs
- ClientCredentials.cs
- ValueSerializer.cs
- WebPartUtil.cs
- InputMethodStateChangeEventArgs.cs
- ParseChildrenAsPropertiesAttribute.cs
- WrapPanel.cs
- TemplatePartAttribute.cs
- ClaimSet.cs
- RSAPKCS1SignatureDeformatter.cs
- FontUnit.cs
- StandardToolWindows.cs
- DrawToolTipEventArgs.cs
- ArgumentException.cs
- SymmetricAlgorithm.cs
- Point4D.cs
- Vector3DCollectionValueSerializer.cs
- KnownAssembliesSet.cs
- File.cs
- CultureTable.cs
- MetadataFile.cs
- ScriptComponentDescriptor.cs
- SoapUnknownHeader.cs
- ResizeGrip.cs
- NativeMethods.cs
- Grammar.cs
- TagNameToTypeMapper.cs
- RangeValidator.cs
- CancellationHandler.cs
- MappingMetadataHelper.cs
- FlowDocumentReader.cs
- PreDigestedSignedInfo.cs