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
- PartialArray.cs
- BindToObject.cs
- ToolStripPanelSelectionBehavior.cs
- KeyValueInternalCollection.cs
- TakeQueryOptionExpression.cs
- TraceEventCache.cs
- ContextMarshalException.cs
- EventTrigger.cs
- ReplyAdapterChannelListener.cs
- Model3DGroup.cs
- AtomServiceDocumentSerializer.cs
- Triangle.cs
- WebPartHelpVerb.cs
- WebPartDescriptionCollection.cs
- PhysicalFontFamily.cs
- DocumentPropertiesDialog.cs
- SettingsPropertyCollection.cs
- EntityContainerEmitter.cs
- AnnouncementEndpointElement.cs
- InstanceNormalEvent.cs
- WebServicesSection.cs
- XamlWriter.cs
- IProvider.cs
- GenerateTemporaryAssemblyTask.cs
- DmlSqlGenerator.cs
- OleDbConnection.cs
- DataBindingCollection.cs
- IgnoreDataMemberAttribute.cs
- BrushMappingModeValidation.cs
- unitconverter.cs
- BaseDataList.cs
- _DomainName.cs
- Substitution.cs
- OrthographicCamera.cs
- WebPartMovingEventArgs.cs
- ProviderIncompatibleException.cs
- LayoutTable.cs
- Component.cs
- X509ServiceCertificateAuthenticationElement.cs
- ArgumentException.cs
- ResourceWriter.cs
- BufferedGraphics.cs
- ConsoleEntryPoint.cs
- Table.cs
- AQNBuilder.cs
- Closure.cs
- MessageOperationFormatter.cs
- MethodImplAttribute.cs
- BlobPersonalizationState.cs
- DataBoundControlParameterTarget.cs
- InvokeMethodActivity.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- DependencyPropertyDescriptor.cs
- SplineQuaternionKeyFrame.cs
- RefreshPropertiesAttribute.cs
- DockPanel.cs
- DifferencingCollection.cs
- BulletChrome.cs
- GroupQuery.cs
- SoapObjectInfo.cs
- OracleTimeSpan.cs
- TextTreeRootTextBlock.cs
- ScrollBar.cs
- SchemaTableColumn.cs
- GridViewRowPresenter.cs
- TCPListener.cs
- HostExecutionContextManager.cs
- CheckBoxAutomationPeer.cs
- UpdateCompiler.cs
- SecurityCapabilities.cs
- TableItemProviderWrapper.cs
- Win32KeyboardDevice.cs
- PageContentCollection.cs
- XmlSchemaAll.cs
- StylusButtonEventArgs.cs
- PackWebResponse.cs
- PackageRelationship.cs
- ImageMapEventArgs.cs
- Crc32.cs
- BamlCollectionHolder.cs
- Stack.cs
- RegexWriter.cs
- ReturnEventArgs.cs
- NgenServicingAttributes.cs
- PriorityChain.cs
- SyndicationDeserializer.cs
- TypeValidationEventArgs.cs
- CompModSwitches.cs
- TreeView.cs
- Accessible.cs
- Converter.cs
- DataTable.cs
- ProjectedSlot.cs
- HiddenFieldPageStatePersister.cs
- WeakEventTable.cs
- InternalDuplexBindingElement.cs
- ItemsPresenter.cs
- Font.cs
- Propagator.ExtentPlaceholderCreator.cs
- FrameSecurityDescriptor.cs