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
- ExtenderProvidedPropertyAttribute.cs
- DynamicControl.cs
- XmlSchemaSimpleTypeUnion.cs
- FileVersionInfo.cs
- Update.cs
- ServerIdentity.cs
- ReplyAdapterChannelListener.cs
- LocatorPartList.cs
- StringKeyFrameCollection.cs
- XmlSchemaGroup.cs
- TraceSection.cs
- WebConvert.cs
- QuotedStringFormatReader.cs
- FormViewDeleteEventArgs.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- UnsettableComboBox.cs
- SafeWaitHandle.cs
- ActivityCodeDomSerializer.cs
- CheckoutException.cs
- ResponseBodyWriter.cs
- DnsEndPoint.cs
- StringAnimationUsingKeyFrames.cs
- DeleteIndexBinder.cs
- WmlLinkAdapter.cs
- DocComment.cs
- XmlHierarchyData.cs
- DataListDesigner.cs
- BufferModeSettings.cs
- ContainerActivationHelper.cs
- HtmlElementEventArgs.cs
- BaseTreeIterator.cs
- TypeGeneratedEventArgs.cs
- IntSecurity.cs
- ProviderConnectionPointCollection.cs
- InputEventArgs.cs
- WebColorConverter.cs
- CorrelationToken.cs
- formatter.cs
- SqlCommandSet.cs
- CalendarDay.cs
- CompletionProxy.cs
- XmlSchemaComplexType.cs
- EmptyStringExpandableObjectConverter.cs
- AlternateView.cs
- HtmlMobileTextWriter.cs
- StringInfo.cs
- CodeArrayIndexerExpression.cs
- CommonRemoteMemoryBlock.cs
- TextParagraphCache.cs
- assertwrapper.cs
- NativeWindow.cs
- LayoutDump.cs
- RangeValidator.cs
- Stylus.cs
- ListenerElementsCollection.cs
- Page.cs
- Aes.cs
- HtmlInputButton.cs
- IisTraceWebEventProvider.cs
- OdbcConnectionPoolProviderInfo.cs
- MatcherBuilder.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- DataControlFieldCell.cs
- DataRowComparer.cs
- TextTabProperties.cs
- DocumentXmlWriter.cs
- TextClipboardData.cs
- LayoutTableCell.cs
- AppDomain.cs
- ConditionalBranch.cs
- MissingFieldException.cs
- TypeUtils.cs
- SiteMapPath.cs
- LocatorPart.cs
- UIElement3D.cs
- XmlSchemaAnyAttribute.cs
- TypeInfo.cs
- SqlDataSourceConfigureSortForm.cs
- JsonStringDataContract.cs
- TrackingStringDictionary.cs
- FileDialog_Vista_Interop.cs
- HeaderUtility.cs
- NavigatingCancelEventArgs.cs
- PopOutPanel.cs
- Function.cs
- odbcmetadatacolumnnames.cs
- FlowLayout.cs
- OciEnlistContext.cs
- CellNormalizer.cs
- SerialStream.cs
- DbProviderServices.cs
- CounterCreationData.cs
- BufferModesCollection.cs
- HotSpotCollection.cs
- RichTextBox.cs
- Double.cs
- Span.cs
- BuildProvider.cs
- AccessViolationException.cs
- _ListenerAsyncResult.cs