Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableDetailsRow.cs
- DiagnosticStrings.cs
- TrailingSpaceComparer.cs
- ErrorBehavior.cs
- ConfigXmlText.cs
- CrossContextChannel.cs
- MenuItemStyle.cs
- PaintEvent.cs
- InkCollectionBehavior.cs
- XsltLibrary.cs
- EdmItemCollection.cs
- ObjectParameter.cs
- CharacterString.cs
- LocalTransaction.cs
- DataControlHelper.cs
- TextServicesContext.cs
- BaseAppDomainProtocolHandler.cs
- Int32CollectionValueSerializer.cs
- safePerfProviderHandle.cs
- ReflectionServiceProvider.cs
- MailMessage.cs
- SoapInteropTypes.cs
- ResourceIDHelper.cs
- Panel.cs
- XslException.cs
- ResourceWriter.cs
- SerializationEventsCache.cs
- regiisutil.cs
- DTCTransactionManager.cs
- Attribute.cs
- SqlConnectionPoolGroupProviderInfo.cs
- DataGridHelper.cs
- ClientConfigPaths.cs
- DiscreteKeyFrames.cs
- FunctionMappingTranslator.cs
- MD5CryptoServiceProvider.cs
- WebControl.cs
- PositiveTimeSpanValidator.cs
- RoleServiceManager.cs
- WebPartsPersonalizationAuthorization.cs
- WpfKnownMemberInvoker.cs
- Stylus.cs
- EventLogRecord.cs
- AdjustableArrowCap.cs
- Speller.cs
- CryptoApi.cs
- RepeaterCommandEventArgs.cs
- LoginName.cs
- StateDesigner.Layouts.cs
- SystemIPv6InterfaceProperties.cs
- BufferedGraphicsContext.cs
- PerformanceCountersElement.cs
- MemoryMappedView.cs
- StylusPointPropertyUnit.cs
- BuildResultCache.cs
- SafeEventLogWriteHandle.cs
- Number.cs
- SettingsBindableAttribute.cs
- TraceFilter.cs
- GeometryModel3D.cs
- mansign.cs
- StackBuilderSink.cs
- TextRunCache.cs
- PrintingPermission.cs
- TreeNodeClickEventArgs.cs
- EntityTemplateUserControl.cs
- ServiceEndpointCollection.cs
- StreamInfo.cs
- SqlCharStream.cs
- ConstantExpression.cs
- ListCollectionView.cs
- ExtendedProperty.cs
- UIPermission.cs
- EntityContainer.cs
- SourceLineInfo.cs
- SerializationBinder.cs
- DataGridViewRowPrePaintEventArgs.cs
- XmlWellformedWriter.cs
- UICuesEvent.cs
- StringSorter.cs
- WebControlToolBoxItem.cs
- _OverlappedAsyncResult.cs
- DecoderFallback.cs
- WizardStepBase.cs
- StrokeDescriptor.cs
- UserThread.cs
- StyleSheetRefUrlEditor.cs
- XmlDataFileEditor.cs
- ExpressionNormalizer.cs
- BadImageFormatException.cs
- BookmarkUndoUnit.cs
- datacache.cs
- EntityClientCacheKey.cs
- DebuggerAttributes.cs
- KnownBoxes.cs
- AlgoModule.cs
- QuotedPrintableStream.cs
- XmlDictionaryReaderQuotas.cs
- WebPartExportVerb.cs
- Animatable.cs