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
- SymmetricAlgorithm.cs
- LoginNameDesigner.cs
- sqlinternaltransaction.cs
- LinearQuaternionKeyFrame.cs
- PackagePart.cs
- TypeDelegator.cs
- LinqDataSourceEditData.cs
- CacheRequest.cs
- PropertyGridView.cs
- WebPartDisplayMode.cs
- ECDsaCng.cs
- X509PeerCertificateAuthentication.cs
- KeyMatchBuilder.cs
- SystemIcmpV6Statistics.cs
- SaveFileDialog.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ReferencedAssembly.cs
- AssemblyHash.cs
- BoundField.cs
- OutputCacheModule.cs
- EmptyImpersonationContext.cs
- SafeArrayTypeMismatchException.cs
- Context.cs
- ThrowHelper.cs
- DataListCommandEventArgs.cs
- CommonXSendMessage.cs
- GridItem.cs
- OleStrCAMarshaler.cs
- TreeNodeEventArgs.cs
- SqlBuilder.cs
- ZipArchive.cs
- WebPartCatalogAddVerb.cs
- EntityDataSourceSelectingEventArgs.cs
- BatchParser.cs
- FlowDocumentPage.cs
- XmlValueConverter.cs
- OrderPreservingPipeliningMergeHelper.cs
- RegularExpressionValidator.cs
- PrimitiveCodeDomSerializer.cs
- CookieParameter.cs
- HTMLTextWriter.cs
- tabpagecollectioneditor.cs
- EntityType.cs
- XmlTextReader.cs
- InvokeHandlers.cs
- DbProviderFactories.cs
- TTSEngineProxy.cs
- InkCanvasFeedbackAdorner.cs
- Registry.cs
- KnownBoxes.cs
- StreamAsIStream.cs
- DbConnectionPoolCounters.cs
- MethodBuilder.cs
- DynamicMethod.cs
- SQLDateTimeStorage.cs
- DataGridViewSelectedRowCollection.cs
- DefaultSerializationProviderAttribute.cs
- ChtmlTextBoxAdapter.cs
- SqlParameterCollection.cs
- DbTransaction.cs
- ProcessStartInfo.cs
- CreateRefExpr.cs
- ObjectToIdCache.cs
- MaskDescriptor.cs
- TemplateXamlParser.cs
- TextRange.cs
- ListViewItemEventArgs.cs
- SimpleHandlerFactory.cs
- InstalledVoice.cs
- GridViewUpdateEventArgs.cs
- AdjustableArrowCap.cs
- CodeIndexerExpression.cs
- BinHexEncoder.cs
- EditorAttribute.cs
- GenericWebPart.cs
- TimelineCollection.cs
- PathFigureCollection.cs
- ProcessModelSection.cs
- SHA1CryptoServiceProvider.cs
- AQNBuilder.cs
- DataRecord.cs
- StringFunctions.cs
- RecognizerStateChangedEventArgs.cs
- PointKeyFrameCollection.cs
- StylusEventArgs.cs
- DurableRuntimeValidator.cs
- SecureUICommand.cs
- ResourceDisplayNameAttribute.cs
- EnumValidator.cs
- VisualBrush.cs
- StringUtil.cs
- ToolBarButtonClickEvent.cs
- VBIdentifierDesigner.xaml.cs
- IgnoreDeviceFilterElementCollection.cs
- CodeDomSerializerBase.cs
- Win32KeyboardDevice.cs
- XamlFigureLengthSerializer.cs
- XmlSchemaObjectTable.cs
- Drawing.cs
- LinearGradientBrush.cs