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
- DesignerHost.cs
- GridViewDeleteEventArgs.cs
- DebugView.cs
- HuffmanTree.cs
- CodeIdentifiers.cs
- MailDefinition.cs
- DataServiceProcessingPipeline.cs
- PlatformNotSupportedException.cs
- DbConnectionPoolOptions.cs
- CodeAttachEventStatement.cs
- EntityTemplateUserControl.cs
- OdbcConnectionFactory.cs
- EntityParameterCollection.cs
- JoinTreeNode.cs
- ReferenceTypeElement.cs
- DbException.cs
- ResourceProviderFactory.cs
- HandleCollector.cs
- RegistryConfigurationProvider.cs
- PathStreamGeometryContext.cs
- compensatingcollection.cs
- SeverityFilter.cs
- TextWriterTraceListener.cs
- BamlReader.cs
- ToggleProviderWrapper.cs
- SafeFileHandle.cs
- XmlFormatWriterGenerator.cs
- ReferenceTypeElement.cs
- EmptyEnumerable.cs
- JournalEntry.cs
- SqlDataReader.cs
- PointUtil.cs
- IPPacketInformation.cs
- IndependentAnimationStorage.cs
- CultureTable.cs
- DataControlCommands.cs
- LogLogRecordHeader.cs
- SymLanguageType.cs
- PtsHost.cs
- HebrewCalendar.cs
- SizeValueSerializer.cs
- COM2FontConverter.cs
- PointCollection.cs
- UnsafeNativeMethods.cs
- MethodMessage.cs
- JsonCollectionDataContract.cs
- CacheMemory.cs
- ProcessInputEventArgs.cs
- RenderCapability.cs
- Tuple.cs
- IsolatedStoragePermission.cs
- IndexObject.cs
- VersionedStreamOwner.cs
- PersonalizablePropertyEntry.cs
- TransformGroup.cs
- SchemaTableOptionalColumn.cs
- PageContent.cs
- XPathException.cs
- ContextMenuStrip.cs
- ViewCellRelation.cs
- DecimalConverter.cs
- XmlBinaryReaderSession.cs
- ErrorProvider.cs
- ServiceModelConfiguration.cs
- KeyValuePair.cs
- HMAC.cs
- CodeSubDirectory.cs
- BStrWrapper.cs
- propertyentry.cs
- Point3DAnimationBase.cs
- TimeoutException.cs
- AssociationSetMetadata.cs
- ValidatingReaderNodeData.cs
- LayoutDump.cs
- FixedHyperLink.cs
- Button.cs
- ISFTagAndGuidCache.cs
- ImageSource.cs
- VirtualPathProvider.cs
- OleCmdHelper.cs
- Executor.cs
- ArgumentNullException.cs
- StickyNoteAnnotations.cs
- ClientApiGenerator.cs
- HttpCachePolicyElement.cs
- ExeConfigurationFileMap.cs
- BackoffTimeoutHelper.cs
- WebPartConnectionsConnectVerb.cs
- SystemSounds.cs
- IteratorDescriptor.cs
- ToolStripLabel.cs
- RouteCollection.cs
- XmlDataSourceView.cs
- CompiledIdentityConstraint.cs
- filewebrequest.cs
- AccessDataSource.cs
- SectionInformation.cs
- UserControlCodeDomTreeGenerator.cs
- ButtonAutomationPeer.cs
- XhtmlStyleClass.cs