Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Reflection / ManifestResourceInfo.cs / 1 / 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; internal 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. [Flags, Serializable] [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; internal 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. [Flags, Serializable] [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
- DiscoveryDocumentLinksPattern.cs
- RequestCacheEntry.cs
- DocumentXmlWriter.cs
- ExpressionBuilderContext.cs
- XXXInfos.cs
- Descriptor.cs
- HttpRawResponse.cs
- HttpListenerTimeoutManager.cs
- PropertyTab.cs
- ToolStripContainer.cs
- FamilyMap.cs
- HostedNamedPipeTransportManager.cs
- XmlSchemaAttribute.cs
- TextCollapsingProperties.cs
- CultureInfoConverter.cs
- GridPatternIdentifiers.cs
- DateTimeOffsetConverter.cs
- Stroke2.cs
- TextLineResult.cs
- ZoneButton.cs
- SiteMapNodeCollection.cs
- XPathDescendantIterator.cs
- BuildResult.cs
- UriWriter.cs
- SiteMapPath.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ListViewCancelEventArgs.cs
- BitmapEffectDrawingContent.cs
- MergeFilterQuery.cs
- FamilyMapCollection.cs
- LeaseManager.cs
- VerificationException.cs
- PersistChildrenAttribute.cs
- DataServiceQueryException.cs
- UpDownBase.cs
- NeutralResourcesLanguageAttribute.cs
- PopupRoot.cs
- TextOutput.cs
- ResourceManagerWrapper.cs
- DbgCompiler.cs
- CurrencyManager.cs
- DecoderExceptionFallback.cs
- D3DImage.cs
- arclist.cs
- AppSettingsReader.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- HelloMessageApril2005.cs
- SynchronizingStream.cs
- OpenFileDialog.cs
- FlowLayoutPanel.cs
- DbProviderFactory.cs
- TypeConverterHelper.cs
- WpfWebRequestHelper.cs
- ContentType.cs
- XmlParserContext.cs
- Expression.cs
- EntityDataSourceWrapperCollection.cs
- TypeNameParser.cs
- ProcessProtocolHandler.cs
- ResourceDescriptionAttribute.cs
- TimeoutValidationAttribute.cs
- Roles.cs
- wmiutil.cs
- XpsPackagingException.cs
- SchemaMapping.cs
- ImageMapEventArgs.cs
- IDQuery.cs
- ListControlConvertEventArgs.cs
- Int16.cs
- RightsManagementSuppressedStream.cs
- ListenerChannelContext.cs
- RegexRunner.cs
- DetailsViewPageEventArgs.cs
- BasicBrowserDialog.designer.cs
- Globals.cs
- SinglePageViewer.cs
- DefaultValueTypeConverter.cs
- Stylesheet.cs
- Dictionary.cs
- ObjectDataSourceView.cs
- CreateBookmarkScope.cs
- StatusBarItemAutomationPeer.cs
- Utils.cs
- RelativeSource.cs
- ListViewUpdateEventArgs.cs
- IpcManager.cs
- ComponentConverter.cs
- XmlDocument.cs
- TextTabProperties.cs
- IncrementalHitTester.cs
- DataBoundLiteralControl.cs
- ClientSettingsStore.cs
- DocumentSequenceHighlightLayer.cs
- HtmlAnchor.cs
- SmtpCommands.cs
- ActiveXContainer.cs
- Utils.cs
- HandlerBase.cs
- ArgumentDesigner.xaml.cs
- ApplicationManager.cs