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
- IssuanceLicense.cs
- TextServicesDisplayAttributePropertyRanges.cs
- SerializerWriterEventHandlers.cs
- HealthMonitoringSectionHelper.cs
- Substitution.cs
- TemplateInstanceAttribute.cs
- SafeReversePInvokeHandle.cs
- SqlRowUpdatedEvent.cs
- HtmlTitle.cs
- Codec.cs
- ErrorFormatterPage.cs
- OpenFileDialog.cs
- _ListenerAsyncResult.cs
- DataGridViewRowsAddedEventArgs.cs
- OpenFileDialog.cs
- TextAdaptor.cs
- DependentTransaction.cs
- CompilerHelpers.cs
- MinimizableAttributeTypeConverter.cs
- MenuTracker.cs
- PageCatalogPart.cs
- InvocationExpression.cs
- SqlException.cs
- Base64Encoding.cs
- ReferenceService.cs
- UIElement.cs
- RequestBringIntoViewEventArgs.cs
- CoTaskMemHandle.cs
- SafeFindHandle.cs
- CalendarDataBindingHandler.cs
- diagnosticsswitches.cs
- Constraint.cs
- SerialReceived.cs
- RangeValidator.cs
- QueryPageSettingsEventArgs.cs
- HttpInputStream.cs
- IisTraceListener.cs
- processwaithandle.cs
- MembershipSection.cs
- NestedContainer.cs
- OleDbRowUpdatedEvent.cs
- DesignerTransaction.cs
- InternalControlCollection.cs
- WindowsRichEditRange.cs
- MouseDevice.cs
- WindowsListViewGroupHelper.cs
- Triangle.cs
- ErrorStyle.cs
- DynamicControlParameter.cs
- TreeNodeConverter.cs
- ConnectionPointCookie.cs
- TimeSpanSecondsConverter.cs
- CompiledRegexRunner.cs
- SecurityContextSecurityTokenResolver.cs
- MethodMessage.cs
- AssemblyHash.cs
- ShaderEffect.cs
- ProgressPage.cs
- DelegateArgument.cs
- externdll.cs
- CatalogZoneBase.cs
- Buffer.cs
- TextureBrush.cs
- XsltOutput.cs
- HTTPNotFoundHandler.cs
- XmlDataImplementation.cs
- Icon.cs
- SimpleLine.cs
- ScaleTransform.cs
- ReflectionPermission.cs
- OverflowException.cs
- TableItemStyle.cs
- XmlValidatingReaderImpl.cs
- Debugger.cs
- FamilyMapCollection.cs
- FusionWrap.cs
- TypeExtension.cs
- CqlIdentifiers.cs
- TextBoxDesigner.cs
- TypeHelpers.cs
- DebugControllerThread.cs
- MultiBindingExpression.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ErrorInfoXmlDocument.cs
- PersistenceException.cs
- StrokeFIndices.cs
- HttpCacheParams.cs
- MessageSmuggler.cs
- EdmSchemaAttribute.cs
- WindowsEditBoxRange.cs
- SerialPort.cs
- AuthenticationServiceManager.cs
- RowTypePropertyElement.cs
- Command.cs
- CapabilitiesRule.cs
- XmlNodeChangedEventManager.cs
- ISAPIRuntime.cs
- DateRangeEvent.cs
- LinkButton.cs
- Floater.cs