Code:
/ DotNET / DotNET / 8.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
- Expressions.cs
- GetLedgerEntryForRecipientRequest.cs
- TextRunCache.cs
- Config.cs
- DataKey.cs
- SuppressIldasmAttribute.cs
- XamlVector3DCollectionSerializer.cs
- CalendarDay.cs
- AttributeData.cs
- MembershipPasswordException.cs
- EntityClientCacheKey.cs
- RuleValidation.cs
- InstallerTypeAttribute.cs
- NetworkInformationException.cs
- XPathDocumentNavigator.cs
- ToolStripManager.cs
- Timer.cs
- SqlMetaData.cs
- HiddenField.cs
- SecurityRuntime.cs
- VoiceSynthesis.cs
- Trace.cs
- MessageSecurityOverHttp.cs
- SoapIgnoreAttribute.cs
- CodeDelegateCreateExpression.cs
- DataGridItemEventArgs.cs
- DbParameterCollection.cs
- LoginName.cs
- ArgumentNullException.cs
- LineVisual.cs
- TableRowsCollectionEditor.cs
- NativeMethods.cs
- WebRequestModuleElement.cs
- ProgressBar.cs
- HelloOperation11AsyncResult.cs
- itemelement.cs
- DispatcherTimer.cs
- UIntPtr.cs
- SslStreamSecurityBindingElement.cs
- SerializationSectionGroup.cs
- ConfigXmlSignificantWhitespace.cs
- ContentHostHelper.cs
- Track.cs
- HtmlInputCheckBox.cs
- PeerNameRegistration.cs
- AccessDataSource.cs
- XmlSchemaObjectTable.cs
- CookielessHelper.cs
- PerspectiveCamera.cs
- processwaithandle.cs
- SQLMoney.cs
- WebCodeGenerator.cs
- GenericAuthenticationEventArgs.cs
- EmbossBitmapEffect.cs
- SspiHelper.cs
- Activity.cs
- NodeFunctions.cs
- SafeCloseHandleCritical.cs
- ThicknessAnimationBase.cs
- UiaCoreProviderApi.cs
- EntityDataSourceState.cs
- IsolatedStorageFile.cs
- MgmtConfigurationRecord.cs
- TransactionTraceIdentifier.cs
- FileResponseElement.cs
- Point3DAnimationBase.cs
- ConfigXmlAttribute.cs
- RuntimeCompatibilityAttribute.cs
- DocumentProperties.cs
- HMACRIPEMD160.cs
- Viewport2DVisual3D.cs
- ObjectTokenCategory.cs
- ReadOnlyObservableCollection.cs
- DataGridViewTextBoxEditingControl.cs
- TextMetrics.cs
- TdsParserSessionPool.cs
- TextRange.cs
- BinaryCommonClasses.cs
- DataGridViewAccessibleObject.cs
- ProcessModelInfo.cs
- XsdDateTime.cs
- UInt32Converter.cs
- FormsIdentity.cs
- ClientSession.cs
- WorkflowOperationFault.cs
- SoapDocumentServiceAttribute.cs
- LinkedResourceCollection.cs
- ToolBarButtonClickEvent.cs
- ControlPaint.cs
- ReservationNotFoundException.cs
- LookupBindingPropertiesAttribute.cs
- PolicyManager.cs
- AllowedAudienceUriElement.cs
- DataRowChangeEvent.cs
- SoapConverter.cs
- ProtocolsConfigurationEntry.cs
- FtpWebRequest.cs
- BufferedGraphics.cs
- WSIdentityFaultException.cs
- XsdBuildProvider.cs