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
- InputManager.cs
- CodeVariableDeclarationStatement.cs
- OracleParameterBinding.cs
- DetailsViewCommandEventArgs.cs
- Message.cs
- recordstatefactory.cs
- CqlLexer.cs
- InternalBufferOverflowException.cs
- CombinedGeometry.cs
- WindowPattern.cs
- IPHostEntry.cs
- ToolStripControlHost.cs
- DecimalStorage.cs
- DateTime.cs
- Clipboard.cs
- SoapEnumAttribute.cs
- FileLevelControlBuilderAttribute.cs
- AccessDataSource.cs
- AspProxy.cs
- DataBinding.cs
- CopyAction.cs
- CodeLabeledStatement.cs
- HitTestParameters.cs
- GlyphElement.cs
- _NestedMultipleAsyncResult.cs
- RemotingException.cs
- TimeStampChecker.cs
- ScaleTransform3D.cs
- ManagementPath.cs
- ColorContext.cs
- CodeNamespaceImportCollection.cs
- DelegateHelpers.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ContainerActivationHelper.cs
- InvokeProviderWrapper.cs
- MaskedTextProvider.cs
- TrustLevel.cs
- ReflectTypeDescriptionProvider.cs
- UInt32.cs
- SyntaxCheck.cs
- WithStatement.cs
- TreeNodeMouseHoverEvent.cs
- FrameworkElementAutomationPeer.cs
- TableLayoutSettings.cs
- PostBackTrigger.cs
- ModuleBuilderData.cs
- SetterBaseCollection.cs
- LineBreak.cs
- IteratorDescriptor.cs
- QilReplaceVisitor.cs
- FileLevelControlBuilderAttribute.cs
- QuaternionRotation3D.cs
- CellParaClient.cs
- TypeElementCollection.cs
- CompoundFileIOPermission.cs
- Color.cs
- _BaseOverlappedAsyncResult.cs
- SignatureDescription.cs
- EntityDataSourceColumn.cs
- SplineKeyFrames.cs
- MbpInfo.cs
- RequestUriProcessor.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ServiceDocumentFormatter.cs
- CollectionChangeEventArgs.cs
- ZoneMembershipCondition.cs
- FileSystemWatcher.cs
- TraceLevelHelper.cs
- NativeMethods.cs
- ListViewCommandEventArgs.cs
- HiddenField.cs
- EmptyEnumerator.cs
- CodeSnippetCompileUnit.cs
- OpCodes.cs
- CriticalFinalizerObject.cs
- Vector3DValueSerializer.cs
- UnsafeNativeMethods.cs
- AssemblyHash.cs
- MaxSessionCountExceededException.cs
- DoubleCollectionConverter.cs
- CompatibleComparer.cs
- ConfigXmlSignificantWhitespace.cs
- AlignmentXValidation.cs
- DrawingBrush.cs
- SafeSystemMetrics.cs
- EntityTypeEmitter.cs
- Package.cs
- EventSourceCreationData.cs
- DispatcherHooks.cs
- VisualSerializer.cs
- TileBrush.cs
- ToolStripDesignerAvailabilityAttribute.cs
- Timer.cs
- EncryptedKey.cs
- AsyncWaitHandle.cs
- BamlTreeUpdater.cs
- BaseDataBoundControl.cs
- ListItemParagraph.cs
- BindingCompleteEventArgs.cs
- DefaultAsyncDataDispatcher.cs