Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HMACSHA256.cs
- Int16AnimationUsingKeyFrames.cs
- LicenseManager.cs
- CachedTypeface.cs
- EditorBrowsableAttribute.cs
- SmiContextFactory.cs
- _HTTPDateParse.cs
- EntityDataSourceViewSchema.cs
- AssemblyAttributesGoHere.cs
- SspiWrapper.cs
- Drawing.cs
- CompoundFileDeflateTransform.cs
- SHA512.cs
- TextAction.cs
- AbsoluteQuery.cs
- Int32Converter.cs
- NetTcpSecurityElement.cs
- ImageDrawing.cs
- FileChangesMonitor.cs
- LinearKeyFrames.cs
- DispatchChannelSink.cs
- GridLengthConverter.cs
- NonClientArea.cs
- CharacterHit.cs
- IPipelineRuntime.cs
- MissingFieldException.cs
- DataExpression.cs
- Compiler.cs
- HtmlTextBoxAdapter.cs
- BooleanFunctions.cs
- MarkupExtensionParser.cs
- ZipIOLocalFileBlock.cs
- Parsers.cs
- HttpHandlerActionCollection.cs
- DoubleLinkListEnumerator.cs
- DataTableExtensions.cs
- TrailingSpaceComparer.cs
- DecimalConverter.cs
- XhtmlTextWriter.cs
- XmlSerializerAssemblyAttribute.cs
- StringFreezingAttribute.cs
- RuntimeHandles.cs
- ToolStripDropDownMenu.cs
- DesignerInterfaces.cs
- SafeArrayRankMismatchException.cs
- OdbcUtils.cs
- CategoryGridEntry.cs
- WebPartConnectionsCloseVerb.cs
- CheckedPointers.cs
- LoaderAllocator.cs
- Attributes.cs
- ChildTable.cs
- _NtlmClient.cs
- ReadWriteSpinLock.cs
- AttributedMetaModel.cs
- SafeArrayRankMismatchException.cs
- ISAPIApplicationHost.cs
- ListCommandEventArgs.cs
- ToolboxItemLoader.cs
- WebRequestModuleElementCollection.cs
- PersonalizationDictionary.cs
- DataRecordObjectView.cs
- PreviewKeyDownEventArgs.cs
- SQLDouble.cs
- ModelVisual3D.cs
- DocumentViewerBase.cs
- BasicExpandProvider.cs
- OleDbFactory.cs
- DomainLiteralReader.cs
- MemberDomainMap.cs
- TriggerActionCollection.cs
- Control.cs
- DSASignatureDeformatter.cs
- AxisAngleRotation3D.cs
- DataGridLinkButton.cs
- Pair.cs
- WebPartPersonalization.cs
- HtmlGenericControl.cs
- HwndTarget.cs
- RoutedUICommand.cs
- WinEventQueueItem.cs
- HttpClientCredentialType.cs
- ToolStripDropDownItemDesigner.cs
- StateMachineHelpers.cs
- Utils.cs
- FamilyCollection.cs
- ItemsControlAutomationPeer.cs
- RequestCachePolicyConverter.cs
- KeyPullup.cs
- Enum.cs
- DiagnosticsConfiguration.cs
- QilScopedVisitor.cs
- PtsCache.cs
- RegistryDataKey.cs
- MasterPageBuildProvider.cs
- CodeMemberProperty.cs
- RightsManagementPermission.cs
- SequenceRange.cs
- GridViewRowCollection.cs
- PathTooLongException.cs