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
- UpdatePanelTriggerCollection.cs
- ReferenceSchema.cs
- DataListItemEventArgs.cs
- NetStream.cs
- RevocationPoint.cs
- BindingList.cs
- WebDisplayNameAttribute.cs
- DataBinder.cs
- EntityChangedParams.cs
- WebBrowserHelper.cs
- ResourceManagerWrapper.cs
- Compilation.cs
- ReliableSession.cs
- SafeSecurityHelper.cs
- ClientRoleProvider.cs
- NopReturnReader.cs
- ErrorTableItemStyle.cs
- ColorContext.cs
- NamespaceQuery.cs
- StringAttributeCollection.cs
- HitTestWithPointDrawingContextWalker.cs
- EntityClassGenerator.cs
- InputScopeNameConverter.cs
- NetWebProxyFinder.cs
- Trace.cs
- TextBoxAutoCompleteSourceConverter.cs
- PeerPresenceInfo.cs
- XmlNodeComparer.cs
- ReferencedAssemblyResolver.cs
- LicenseContext.cs
- GeneralTransform3D.cs
- RoutingUtilities.cs
- SerializerProvider.cs
- IISMapPath.cs
- COM2Enum.cs
- HttpCachePolicyElement.cs
- SchemaElementLookUpTable.cs
- SQLMoneyStorage.cs
- ChannelPool.cs
- WebServiceTypeData.cs
- StylusPointCollection.cs
- TypeForwardedToAttribute.cs
- _AuthenticationState.cs
- WindowsProgressbar.cs
- FlowDocumentReaderAutomationPeer.cs
- Timer.cs
- keycontainerpermission.cs
- ToolBarPanel.cs
- XPathAxisIterator.cs
- _ProxyChain.cs
- InputProviderSite.cs
- ContextQuery.cs
- RecognitionEventArgs.cs
- MouseActionConverter.cs
- RectangleConverter.cs
- EntityDataSourceChangingEventArgs.cs
- FixedSOMSemanticBox.cs
- CollectionsUtil.cs
- IssuanceLicense.cs
- PolygonHotSpot.cs
- XmlSchemaValidator.cs
- StrongNameHelpers.cs
- Context.cs
- ObjectFullSpanRewriter.cs
- DecoderFallback.cs
- XmlSchemaType.cs
- RtType.cs
- StyleTypedPropertyAttribute.cs
- IxmlLineInfo.cs
- XmlMtomReader.cs
- RequestCachingSection.cs
- XPathNodeList.cs
- PieceNameHelper.cs
- Literal.cs
- precedingsibling.cs
- LocalizeDesigner.cs
- WebControlsSection.cs
- OpenFileDialog.cs
- XmlSchemaObject.cs
- LocatorBase.cs
- Attributes.cs
- SqlServices.cs
- translator.cs
- IndexOutOfRangeException.cs
- RepeaterCommandEventArgs.cs
- XmlNodeList.cs
- SafeNativeMethods.cs
- ChannelDispatcherCollection.cs
- SByteConverter.cs
- RangeValidator.cs
- Canvas.cs
- UnsafeMethods.cs
- ToolStripContainer.cs
- ListCollectionView.cs
- ColumnMapTranslator.cs
- ToolStripItemClickedEventArgs.cs
- EmptyCollection.cs
- infer.cs
- FontNamesConverter.cs
- CharAnimationUsingKeyFrames.cs