Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / InteropServices / TCEAdapterGen / EventItfInfo.cs / 1305376 / EventItfInfo.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices.TCEAdapterGen { using System; using System.Reflection; using System.Collections; internal class EventItfInfo { public EventItfInfo(String strEventItfName, String strSrcItfName, String strEventProviderName, RuntimeAssembly asmImport, RuntimeAssembly 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 RuntimeAssembly m_asmImport; private RuntimeAssembly m_asmSrcItf; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.InteropServices.TCEAdapterGen { using System; using System.Reflection; using System.Collections; internal class EventItfInfo { public EventItfInfo(String strEventItfName, String strSrcItfName, String strEventProviderName, RuntimeAssembly asmImport, RuntimeAssembly 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 RuntimeAssembly m_asmImport; private RuntimeAssembly m_asmSrcItf; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ArrayTypeMismatchException.cs
- Int16AnimationUsingKeyFrames.cs
- MimeParameter.cs
- StateMachineWorkflow.cs
- Tool.cs
- serverconfig.cs
- DbProviderServices.cs
- GridViewHeaderRowPresenter.cs
- ListViewItem.cs
- SocketPermission.cs
- FixedSOMTableCell.cs
- TiffBitmapDecoder.cs
- GridLengthConverter.cs
- ExecutionScope.cs
- IDReferencePropertyAttribute.cs
- ImageButton.cs
- X509Chain.cs
- XmlSchemaValidationException.cs
- ReadOnlyTernaryTree.cs
- log.cs
- Section.cs
- dbenumerator.cs
- ItemsPresenter.cs
- TypographyProperties.cs
- BackEase.cs
- XmlLanguage.cs
- CompareInfo.cs
- _ConnectionGroup.cs
- MetadataCollection.cs
- GraphicsPath.cs
- CommandField.cs
- TimeoutException.cs
- HostExecutionContextManager.cs
- TracePayload.cs
- AttachedAnnotation.cs
- ConvertTextFrag.cs
- XmlSchemaValidationException.cs
- SoapExtensionReflector.cs
- GenericTypeParameterConverter.cs
- SimpleRecyclingCache.cs
- TextRunCacheImp.cs
- TextRunCacheImp.cs
- shaperfactoryquerycachekey.cs
- DateTimeConverter.cs
- DataAdapter.cs
- RequiredArgumentAttribute.cs
- BridgeDataRecord.cs
- AnnotationHighlightLayer.cs
- QueryCacheManager.cs
- OleDbConnectionFactory.cs
- XmlSchemaCompilationSettings.cs
- UnsafeMethods.cs
- HttpContextServiceHost.cs
- FixUpCollection.cs
- ResourceSet.cs
- EventLogInformation.cs
- TypeTypeConverter.cs
- SpeechUI.cs
- RuntimeResourceSet.cs
- CodeNamespaceImport.cs
- CompiledRegexRunnerFactory.cs
- DurableOperationAttribute.cs
- TemplateBindingExpressionConverter.cs
- SoapReflectionImporter.cs
- GridEntry.cs
- Graphics.cs
- SimpleParser.cs
- FacetDescriptionElement.cs
- RowCache.cs
- QilDataSource.cs
- ISO2022Encoding.cs
- TextTreeTextNode.cs
- DBNull.cs
- XmlWellformedWriter.cs
- XmlSchemaProviderAttribute.cs
- WorkflowInstance.cs
- ToolStripDropTargetManager.cs
- SelectionGlyphBase.cs
- Listbox.cs
- SystemTcpConnection.cs
- AuthenticationModuleElementCollection.cs
- ParallelQuery.cs
- WrapPanel.cs
- TextTreeDeleteContentUndoUnit.cs
- ResolveMatchesCD1.cs
- ProfileProvider.cs
- Vector3D.cs
- InternalBufferOverflowException.cs
- FixedSOMTableCell.cs
- ProjectionPruner.cs
- HyperLink.cs
- ExpandedWrapper.cs
- RuntimeHelpers.cs
- ProfilePropertyMetadata.cs
- SystemEvents.cs
- DecoderBestFitFallback.cs
- TabItemWrapperAutomationPeer.cs
- AccessDataSourceWizardForm.cs
- CheckedListBox.cs
- SoapFault.cs