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
- XamlStyleSerializer.cs
- DelegatingConfigHost.cs
- FileVersion.cs
- ItemCheckEvent.cs
- PassportAuthentication.cs
- ExpressionBindingCollection.cs
- WorkerRequest.cs
- XDRSchema.cs
- DataRowView.cs
- AnalyzedTree.cs
- DesignerVerb.cs
- __Error.cs
- LinqExpressionNormalizer.cs
- BitmapImage.cs
- UserControl.cs
- Exception.cs
- TextServicesPropertyRanges.cs
- UrlSyndicationContent.cs
- GeneratedContractType.cs
- PriorityRange.cs
- SystemPens.cs
- XPathDocument.cs
- SrgsText.cs
- Underline.cs
- TableItemStyle.cs
- HostingEnvironment.cs
- DESCryptoServiceProvider.cs
- ParallelEnumerableWrapper.cs
- ServiceDescriptions.cs
- SQLBinary.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SqlProfileProvider.cs
- DbProviderServices.cs
- InstalledFontCollection.cs
- Clause.cs
- BufferedMessageData.cs
- PageCache.cs
- ConnectionPoint.cs
- SimpleApplicationHost.cs
- MessageCredentialType.cs
- ExecutedRoutedEventArgs.cs
- ToolStripItemEventArgs.cs
- HttpClientProtocol.cs
- LeafCellTreeNode.cs
- HttpClientProtocol.cs
- RegionIterator.cs
- HandlerBase.cs
- safemediahandle.cs
- DataGridViewImageCell.cs
- PagerSettings.cs
- Bezier.cs
- EllipseGeometry.cs
- CreateUserWizardStep.cs
- CharacterShapingProperties.cs
- Baml2006ReaderContext.cs
- DateTimeConverter.cs
- Literal.cs
- SqlTriggerAttribute.cs
- XmlSchemaAny.cs
- DesignerProperties.cs
- PerfService.cs
- RepeatEnumerable.cs
- CroppedBitmap.cs
- TableRow.cs
- PopupRootAutomationPeer.cs
- SqlProfileProvider.cs
- Tuple.cs
- HebrewNumber.cs
- ToolStripDropDownItem.cs
- AuthenticationServiceManager.cs
- ErrorWebPart.cs
- AdditionalEntityFunctions.cs
- BitmapScalingModeValidation.cs
- SafeHandles.cs
- DrawingImage.cs
- UInt64.cs
- NativeWindow.cs
- Point3DKeyFrameCollection.cs
- SerializerDescriptor.cs
- StringHandle.cs
- TableLayoutRowStyleCollection.cs
- Icon.cs
- DataRow.cs
- BaseCollection.cs
- MergePropertyDescriptor.cs
- CodeExporter.cs
- COM2IPerPropertyBrowsingHandler.cs
- GetPageNumberCompletedEventArgs.cs
- WsdlExporter.cs
- DeviceContext.cs
- AutomationElementCollection.cs
- EdmTypeAttribute.cs
- JapaneseCalendar.cs
- EventLevel.cs
- ZipIOCentralDirectoryFileHeader.cs
- SqlCharStream.cs
- ShapingEngine.cs
- Application.cs
- DocumentXPathNavigator.cs
- ContextMenuStripGroupCollection.cs