Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CellRelation.cs
- CacheRequest.cs
- InputBinding.cs
- TextAnchor.cs
- MinMaxParagraphWidth.cs
- DataGridViewImageColumn.cs
- CustomBinding.cs
- DateTimeFormatInfoScanner.cs
- ReliableMessagingVersionConverter.cs
- ImageFormatConverter.cs
- Keywords.cs
- NativeObjectSecurity.cs
- ObjectAssociationEndMapping.cs
- Compress.cs
- UIElementParaClient.cs
- TextRunCache.cs
- EventLevel.cs
- DecoderBestFitFallback.cs
- MarkupCompilePass1.cs
- DummyDataSource.cs
- MenuItem.cs
- GifBitmapDecoder.cs
- SmiConnection.cs
- StateMachine.cs
- DataGridRelationshipRow.cs
- HitTestParameters3D.cs
- DateTimeOffsetStorage.cs
- PrePrepareMethodAttribute.cs
- DbModificationClause.cs
- MediaElement.cs
- ClipboardData.cs
- HttpHandler.cs
- BinarySecretSecurityToken.cs
- CorruptingExceptionCommon.cs
- httpstaticobjectscollection.cs
- HyperLink.cs
- DispatcherOperation.cs
- EditorZoneDesigner.cs
- EpmContentSerializerBase.cs
- connectionpool.cs
- NavigationProperty.cs
- ClientTargetCollection.cs
- AudioLevelUpdatedEventArgs.cs
- DiscreteKeyFrames.cs
- SelectionItemProviderWrapper.cs
- PrintPreviewControl.cs
- ToolboxBitmapAttribute.cs
- ToolStripStatusLabel.cs
- UIElementCollection.cs
- XmlRootAttribute.cs
- ActivityExecutionFilter.cs
- Int32AnimationUsingKeyFrames.cs
- FileSystemInfo.cs
- WindowsNonControl.cs
- SqlServer2KCompatibilityCheck.cs
- GridItemCollection.cs
- OrderedDictionaryStateHelper.cs
- DispatcherExceptionFilterEventArgs.cs
- HatchBrush.cs
- AssemblyName.cs
- TextElement.cs
- IgnoreSection.cs
- EventLogEntryCollection.cs
- CustomCategoryAttribute.cs
- DbConnectionStringCommon.cs
- ProgressBar.cs
- StateMachineHistory.cs
- HtmlUtf8RawTextWriter.cs
- ListControlConvertEventArgs.cs
- RegexCaptureCollection.cs
- EventBookmark.cs
- TiffBitmapDecoder.cs
- InvalidDataException.cs
- SortKey.cs
- CounterCreationDataCollection.cs
- ContainerUtilities.cs
- ImagingCache.cs
- ClearCollection.cs
- dataprotectionpermission.cs
- TableHeaderCell.cs
- TdsEnums.cs
- UnicodeEncoding.cs
- FixUpCollection.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- XmlNamespaceManager.cs
- QueryInterceptorAttribute.cs
- SimpleTypeResolver.cs
- complextypematerializer.cs
- DbProviderSpecificTypePropertyAttribute.cs
- AsyncCompletedEventArgs.cs
- IncrementalHitTester.cs
- TraceData.cs
- KeyTime.cs
- DiagnosticStrings.cs
- XpsThumbnail.cs
- DataPagerFieldCommandEventArgs.cs
- X509Utils.cs
- SortExpressionBuilder.cs
- BindingExpression.cs
- XmlElementAttributes.cs