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
- ListDictionary.cs
- HttpListenerException.cs
- cache.cs
- BuildManager.cs
- XmlReaderSettings.cs
- ChannelTokenTypeConverter.cs
- SqlReferenceCollection.cs
- RegexInterpreter.cs
- CodeSnippetCompileUnit.cs
- Setter.cs
- UITypeEditor.cs
- Set.cs
- recordstate.cs
- TextPointerBase.cs
- DeferrableContentConverter.cs
- IPAddressCollection.cs
- TemplateEditingService.cs
- CounterSample.cs
- cookie.cs
- AsymmetricCryptoHandle.cs
- DefaultTextStoreTextComposition.cs
- TextElementCollection.cs
- FormViewPageEventArgs.cs
- DescendentsWalkerBase.cs
- TextParagraphProperties.cs
- HybridDictionary.cs
- PolyBezierSegment.cs
- Parameter.cs
- XmlLoader.cs
- EntityClassGenerator.cs
- HtmlTableRow.cs
- WinCategoryAttribute.cs
- RectangleGeometry.cs
- HashSetEqualityComparer.cs
- ToolboxItemLoader.cs
- MediaEntryAttribute.cs
- ConnectionManagementElement.cs
- ThreadAttributes.cs
- LogLogRecord.cs
- BigInt.cs
- CommonBehaviorsSection.cs
- ObjectDataSourceView.cs
- SignatureToken.cs
- IsolatedStorage.cs
- WebPartEditorCancelVerb.cs
- HandleExceptionArgs.cs
- CaseInsensitiveComparer.cs
- WorkBatch.cs
- followingsibling.cs
- UIElement.cs
- XmlSchemaValidationException.cs
- XPathItem.cs
- SharedStream.cs
- MaxSessionCountExceededException.cs
- SectionRecord.cs
- StorageEntityContainerMapping.cs
- QilInvokeEarlyBound.cs
- PrinterSettings.cs
- BoolLiteral.cs
- NotCondition.cs
- ToolStripContainer.cs
- VerificationAttribute.cs
- TableDetailsCollection.cs
- SqlFlattener.cs
- ParameterToken.cs
- MemberDomainMap.cs
- WebSysDefaultValueAttribute.cs
- BooleanToVisibilityConverter.cs
- SubclassTypeValidatorAttribute.cs
- StyleBamlTreeBuilder.cs
- UrlSyndicationContent.cs
- MouseGestureValueSerializer.cs
- PropertyChangingEventArgs.cs
- WebPartZone.cs
- MessageFilterTable.cs
- MeshGeometry3D.cs
- SplitContainer.cs
- SecurityRuntime.cs
- NativeMethods.cs
- lengthconverter.cs
- SparseMemoryStream.cs
- rsa.cs
- Console.cs
- DataGridViewButtonCell.cs
- CallSite.cs
- HostedHttpRequestAsyncResult.cs
- LogConverter.cs
- CommandDevice.cs
- Polygon.cs
- oledbmetadatacolumnnames.cs
- Baml6ConstructorInfo.cs
- ColorIndependentAnimationStorage.cs
- ProtocolsConfiguration.cs
- DateTimeUtil.cs
- StringValueSerializer.cs
- DocumentApplicationJournalEntry.cs
- SystemIcmpV6Statistics.cs
- CqlLexer.cs
- GZipStream.cs
- UnhandledExceptionEventArgs.cs