Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / ManifestResourceInfo.cs / 1305376 / 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; public 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. [Serializable] [Flags] [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; public 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. [Serializable] [Flags] [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
- CompiledQuery.cs
- Matrix3DValueSerializer.cs
- RangeBaseAutomationPeer.cs
- ExpandCollapseProviderWrapper.cs
- DataGridAutoFormat.cs
- SetStoryboardSpeedRatio.cs
- LinqDataSourceEditData.cs
- Size.cs
- DataServiceBuildProvider.cs
- HelloOperation11AsyncResult.cs
- CacheDependency.cs
- ProjectionPlan.cs
- FontStretches.cs
- ModelUIElement3D.cs
- sqlser.cs
- Point4DValueSerializer.cs
- SoapObjectReader.cs
- hebrewshape.cs
- TrackingDataItemValue.cs
- TextCompositionManager.cs
- PageThemeParser.cs
- StylusPointCollection.cs
- ActionFrame.cs
- TrackingConditionCollection.cs
- Compilation.cs
- BaseInfoTable.cs
- WS2007FederationHttpBinding.cs
- KnowledgeBase.cs
- CompositionDesigner.cs
- TimeSpanOrInfiniteConverter.cs
- DrawTreeNodeEventArgs.cs
- CommandDevice.cs
- SettingsSection.cs
- WindowsSlider.cs
- WriteFileContext.cs
- TextAutomationPeer.cs
- Sql8ExpressionRewriter.cs
- NameValuePair.cs
- AutoCompleteStringCollection.cs
- HelloMessageApril2005.cs
- WebMessageEncodingBindingElement.cs
- EditorPart.cs
- PrePrepareMethodAttribute.cs
- SettingsSavedEventArgs.cs
- ValidationErrorCollection.cs
- UnknownBitmapEncoder.cs
- AttachmentCollection.cs
- PtsContext.cs
- ToolStripItemBehavior.cs
- TabRenderer.cs
- NativeMethods.cs
- HttpHandlerActionCollection.cs
- X509Certificate2Collection.cs
- ChtmlTextWriter.cs
- CompiledXpathExpr.cs
- XmlTextReader.cs
- CacheModeConverter.cs
- CodeTryCatchFinallyStatement.cs
- SiteMap.cs
- ImageAttributes.cs
- DispatcherOperation.cs
- objectresult_tresulttype.cs
- EdmToObjectNamespaceMap.cs
- MetadataCache.cs
- DataFieldConverter.cs
- ConfigViewGenerator.cs
- SessionStateItemCollection.cs
- RenderOptions.cs
- ToolStripControlHost.cs
- DataGridViewRowStateChangedEventArgs.cs
- LocalizationComments.cs
- ProfileInfo.cs
- SafeMILHandleMemoryPressure.cs
- Substitution.cs
- PenContext.cs
- FormViewPageEventArgs.cs
- TakeOrSkipQueryOperator.cs
- TouchFrameEventArgs.cs
- DigestComparer.cs
- DoubleKeyFrameCollection.cs
- ToolStripLabel.cs
- MatrixTransform3D.cs
- TreeNodeCollection.cs
- IISMapPath.cs
- Types.cs
- RegexWorker.cs
- Array.cs
- GZipUtils.cs
- xml.cs
- QueryAccessibilityHelpEvent.cs
- CalendarItem.cs
- ScriptingAuthenticationServiceSection.cs
- GridLengthConverter.cs
- HttpCachePolicy.cs
- CatalogZone.cs
- FrameworkTextComposition.cs
- _ListenerAsyncResult.cs
- EntityContainerEmitter.cs
- DataGridViewColumnStateChangedEventArgs.cs
- RefExpr.cs