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
- SQLResource.cs
- DesignSurfaceServiceContainer.cs
- OpenTypeLayout.cs
- DropAnimation.xaml.cs
- BindingCollection.cs
- PerformanceCounterManager.cs
- categoryentry.cs
- AsyncContentLoadedEventArgs.cs
- OdbcError.cs
- Item.cs
- DataGridViewCellStateChangedEventArgs.cs
- XmlSyndicationContent.cs
- ValueTable.cs
- Tool.cs
- SQLDecimal.cs
- SymmetricKey.cs
- AccessibleObject.cs
- SiteMapNode.cs
- ImageListStreamer.cs
- BuildProvidersCompiler.cs
- GroupAggregateExpr.cs
- Vector3DConverter.cs
- RequestDescription.cs
- PriorityQueue.cs
- ColorConvertedBitmap.cs
- XmlCountingReader.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- _BaseOverlappedAsyncResult.cs
- ProtocolsSection.cs
- Rotation3DAnimation.cs
- _BaseOverlappedAsyncResult.cs
- FormViewDeletedEventArgs.cs
- HtmlInputImage.cs
- Size3DValueSerializer.cs
- XmlDesignerDataSourceView.cs
- XmlSignatureProperties.cs
- SessionStateUtil.cs
- PointHitTestParameters.cs
- EventArgs.cs
- Rotation3D.cs
- PropagatorResult.cs
- GridItemProviderWrapper.cs
- PropertyDescriptorGridEntry.cs
- SiteMapHierarchicalDataSourceView.cs
- ErrorTableItemStyle.cs
- TranslateTransform3D.cs
- MarkupWriter.cs
- WorkItem.cs
- ColorTransform.cs
- IListConverters.cs
- DES.cs
- ValidationError.cs
- MarkupObject.cs
- EntitySetDataBindingList.cs
- FontFamilyConverter.cs
- FormatConvertedBitmap.cs
- IndicCharClassifier.cs
- EncoderBestFitFallback.cs
- XsltException.cs
- Touch.cs
- FieldNameLookup.cs
- CodeRemoveEventStatement.cs
- QueryOutputWriter.cs
- _CookieModule.cs
- ToolCreatedEventArgs.cs
- ToolStripProgressBar.cs
- fixedPageContentExtractor.cs
- MenuItemStyle.cs
- ApplicationInfo.cs
- LongValidator.cs
- FileSystemWatcher.cs
- XmlSortKeyAccumulator.cs
- CheckBoxFlatAdapter.cs
- TextServicesDisplayAttributePropertyRanges.cs
- Point3DIndependentAnimationStorage.cs
- DataSourceView.cs
- InvokeFunc.cs
- ServiceChannelFactory.cs
- XmlReaderDelegator.cs
- TemplateColumn.cs
- ClientSettingsSection.cs
- NonVisualControlAttribute.cs
- QilGeneratorEnv.cs
- VisualCollection.cs
- RawMouseInputReport.cs
- TextFormatterHost.cs
- HttpValueCollection.cs
- WebControlsSection.cs
- VBCodeProvider.cs
- ComplexObject.cs
- FileUpload.cs
- ProxyGenerationError.cs
- propertytag.cs
- WorkflowInstanceRecord.cs
- Path.cs
- SystemFonts.cs
- HtmlLink.cs
- ViewBase.cs
- Triplet.cs
- ComPlusTypeValidator.cs