Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / ManifestResourceInfo.cs / 1305376 / ManifestResourceInfo.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ManifestResourceInfo ** **[....] ** ** ** Purpose: For info regarding a manifest resource's topology. ** ** =============================================================================*/ namespace System.Reflection { using System; [System.Runtime.InteropServices.ComVisible(true)] public class ManifestResourceInfo { private Assembly _containingAssembly; private String _containingFileName; private ResourceLocation _resourceLocation; public ManifestResourceInfo(Assembly containingAssembly, String containingFileName, ResourceLocation resourceLocation) { _containingAssembly = containingAssembly; _containingFileName = containingFileName; _resourceLocation = resourceLocation; } public virtual Assembly ReferencedAssembly { get { return _containingAssembly; } } public virtual String FileName { get { return _containingFileName; } } public virtual ResourceLocation ResourceLocation { get { return _resourceLocation; } } } // The ResourceLocation is a combination of these flags, set or not. // Linked means not Embedded. [Serializable] [Flags] [System.Runtime.InteropServices.ComVisible(true)] public enum ResourceLocation { Embedded = 0x1, ContainedInAnotherAssembly = 0x2, ContainedInManifestFile = 0x4 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ManifestResourceInfo ** **[....] ** ** ** Purpose: For info regarding a manifest resource's topology. ** ** =============================================================================*/ namespace System.Reflection { using System; [System.Runtime.InteropServices.ComVisible(true)] public class ManifestResourceInfo { private Assembly _containingAssembly; private String _containingFileName; private ResourceLocation _resourceLocation; public ManifestResourceInfo(Assembly containingAssembly, String containingFileName, ResourceLocation resourceLocation) { _containingAssembly = containingAssembly; _containingFileName = containingFileName; _resourceLocation = resourceLocation; } public virtual Assembly ReferencedAssembly { get { return _containingAssembly; } } public virtual String FileName { get { return _containingFileName; } } public virtual ResourceLocation ResourceLocation { get { return _resourceLocation; } } } // The ResourceLocation is a combination of these flags, set or not. // Linked means not Embedded. [Serializable] [Flags] [System.Runtime.InteropServices.ComVisible(true)] public enum ResourceLocation { Embedded = 0x1, ContainedInAnotherAssembly = 0x2, ContainedInManifestFile = 0x4 } } // 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
- UserInitiatedNavigationPermission.cs
- SequenceFullException.cs
- SchemaSetCompiler.cs
- BindingBase.cs
- DbReferenceCollection.cs
- WorkflowDefinitionContext.cs
- GeometryDrawing.cs
- filewebrequest.cs
- SiteMap.cs
- DocumentReference.cs
- _AutoWebProxyScriptWrapper.cs
- TemplateGroupCollection.cs
- IntranetCredentialPolicy.cs
- RestClientProxyHandler.cs
- HttpListenerException.cs
- OleDbRowUpdatingEvent.cs
- Permission.cs
- SourceItem.cs
- ComboBoxAutomationPeer.cs
- CleanUpVirtualizedItemEventArgs.cs
- MatrixCamera.cs
- WebBaseEventKeyComparer.cs
- CultureInfoConverter.cs
- ControlIdConverter.cs
- CachingHintValidation.cs
- CheckBoxPopupAdapter.cs
- QueryTaskGroupState.cs
- SystemParameters.cs
- SplashScreen.cs
- EdmToObjectNamespaceMap.cs
- HwndHostAutomationPeer.cs
- OptimalBreakSession.cs
- MimeBasePart.cs
- Int32AnimationUsingKeyFrames.cs
- NumericUpDownAcceleration.cs
- HttpPostProtocolImporter.cs
- ThousandthOfEmRealPoints.cs
- SafeLibraryHandle.cs
- ColorContextHelper.cs
- Sentence.cs
- XPathMessageContext.cs
- DesignerTransaction.cs
- Run.cs
- SignatureGenerator.cs
- LineBreakRecord.cs
- HTMLTextWriter.cs
- BlockingCollection.cs
- ThreadExceptionDialog.cs
- OleDbParameter.cs
- CheckBoxStandardAdapter.cs
- ServiceObjectContainer.cs
- InvalidContentTypeException.cs
- DeferrableContentConverter.cs
- followingquery.cs
- ExtenderControl.cs
- EpmSyndicationContentDeSerializer.cs
- DateTimeUtil.cs
- SelectedCellsCollection.cs
- CollectionViewGroupInternal.cs
- IntPtr.cs
- DataGridViewCheckBoxCell.cs
- XmlILModule.cs
- SessionSwitchEventArgs.cs
- DetailsViewModeEventArgs.cs
- DeleteCardRequest.cs
- DesignerDataTableBase.cs
- UnsafeNativeMethods.cs
- DataGridViewTextBoxColumn.cs
- BypassElement.cs
- ItemDragEvent.cs
- ImageCodecInfo.cs
- Journal.cs
- ContentWrapperAttribute.cs
- UIInitializationException.cs
- StorageInfo.cs
- BamlLocalizabilityResolver.cs
- CompositeScriptReferenceEventArgs.cs
- BitmapDownload.cs
- CodeStatement.cs
- KoreanLunisolarCalendar.cs
- SplitterDesigner.cs
- XmlElementCollection.cs
- LinqDataSourceStatusEventArgs.cs
- XsdBuildProvider.cs
- ValueTypeFieldReference.cs
- SizeFConverter.cs
- CompilerCollection.cs
- InvokeGenerator.cs
- ValueType.cs
- PTConverter.cs
- EdmProperty.cs
- HyperLink.cs
- Process.cs
- InsufficientMemoryException.cs
- GrammarBuilderBase.cs
- SqlDataSourceConfigureSelectPanel.cs
- MainMenu.cs
- HyperLink.cs
- SrgsGrammarCompiler.cs
- XmlIterators.cs