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
- UserControlCodeDomTreeGenerator.cs
- StringInfo.cs
- TabControlDesigner.cs
- ForwardPositionQuery.cs
- LogRestartAreaEnumerator.cs
- BinaryFormatterWriter.cs
- ButtonBaseAutomationPeer.cs
- DrawingAttributeSerializer.cs
- WebPartVerbCollection.cs
- XmlChoiceIdentifierAttribute.cs
- DeferredTextReference.cs
- SchemaMapping.cs
- CheckBoxPopupAdapter.cs
- BindingOperations.cs
- WCFModelStrings.Designer.cs
- OutputCacheSettingsSection.cs
- HitTestResult.cs
- ViewGenerator.cs
- securitycriticaldata.cs
- Simplifier.cs
- ApplicationHost.cs
- DoubleConverter.cs
- LoadMessageLogger.cs
- DuplexClientBase.cs
- DesignerWidgets.cs
- MemberExpression.cs
- WebFormsRootDesigner.cs
- BinaryObjectWriter.cs
- SecurityKeyUsage.cs
- NativeBuffer.cs
- PropertyConverter.cs
- InvalidComObjectException.cs
- ContractReference.cs
- MetabaseServerConfig.cs
- ElementMarkupObject.cs
- HtmlMeta.cs
- Internal.cs
- SqlNodeAnnotation.cs
- Adorner.cs
- WpfXamlType.cs
- SrgsGrammarCompiler.cs
- ActivityExecutor.cs
- Frame.cs
- IdentitySection.cs
- DataSourceHelper.cs
- precedingquery.cs
- RangeBaseAutomationPeer.cs
- DataGridLength.cs
- Emitter.cs
- CompiledAction.cs
- NativeMethodsOther.cs
- TextPointer.cs
- GenericPrincipal.cs
- StylusEventArgs.cs
- Socket.cs
- ThaiBuddhistCalendar.cs
- MD5CryptoServiceProvider.cs
- XMLSyntaxException.cs
- ConfigurationConverterBase.cs
- _DisconnectOverlappedAsyncResult.cs
- ExceptionHelpers.cs
- MenuRendererClassic.cs
- XmlRootAttribute.cs
- Transform3D.cs
- XPathNodeIterator.cs
- SettingsAttributeDictionary.cs
- BypassElement.cs
- EntityDataSourceValidationException.cs
- Transform.cs
- ReplyChannelBinder.cs
- SchemaImporterExtensionElementCollection.cs
- basecomparevalidator.cs
- GenericsInstances.cs
- ReversePositionQuery.cs
- DataGridViewRowHeaderCell.cs
- ClientProxyGenerator.cs
- GB18030Encoding.cs
- Size3DValueSerializer.cs
- BookmarkScopeInfo.cs
- ObjectItemAttributeAssemblyLoader.cs
- DefaultBindingPropertyAttribute.cs
- HandledMouseEvent.cs
- Matrix3D.cs
- ComNativeDescriptor.cs
- NavigationPropertyEmitter.cs
- ClientFormsAuthenticationCredentials.cs
- ParagraphResult.cs
- ToolStripPanel.cs
- GeometryGroup.cs
- SelectingProviderEventArgs.cs
- WebCodeGenerator.cs
- WebPartDisplayModeCollection.cs
- SHA384.cs
- SiteMapNodeItemEventArgs.cs
- ToolBar.cs
- LinkClickEvent.cs
- DataTemplateKey.cs
- RoamingStoreFileUtility.cs
- MemoryStream.cs
- FileNotFoundException.cs