Code:
/ DotNET / DotNET / 8.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
- CardSpaceShim.cs
- DataContractSerializerOperationFormatter.cs
- ListCollectionView.cs
- ConfigXmlComment.cs
- MaskInputRejectedEventArgs.cs
- SettingsContext.cs
- RightsManagementEncryptedStream.cs
- basecomparevalidator.cs
- CanonicalizationDriver.cs
- FrugalList.cs
- PolicyLevel.cs
- SyntaxCheck.cs
- WMICapabilities.cs
- InvalidCastException.cs
- PersianCalendar.cs
- XamlStream.cs
- EntityProviderServices.cs
- ComplexBindingPropertiesAttribute.cs
- WebPartTracker.cs
- Paragraph.cs
- MemberInfoSerializationHolder.cs
- HtmlTable.cs
- ScalarOps.cs
- GroupStyle.cs
- AsynchronousChannel.cs
- CheckBoxStandardAdapter.cs
- PolicyUnit.cs
- IgnoreSection.cs
- ItemCollection.cs
- SqlSelectStatement.cs
- ToolStripMenuItem.cs
- SequenceRange.cs
- MetadataItemSerializer.cs
- HttpPostedFileBase.cs
- AutomationFocusChangedEventArgs.cs
- XmlEncoding.cs
- CatalogZoneBase.cs
- WebProxyScriptElement.cs
- LogReserveAndAppendState.cs
- Exceptions.cs
- HotSpotCollection.cs
- BindingContext.cs
- FileDialogCustomPlace.cs
- CrossSiteScriptingValidation.cs
- TemplateInstanceAttribute.cs
- MaterialGroup.cs
- ExtractCollection.cs
- Internal.cs
- FrameworkObject.cs
- BulletChrome.cs
- MetabaseServerConfig.cs
- FuncCompletionCallbackWrapper.cs
- ImageListImage.cs
- ListView.cs
- XmlnsCompatibleWithAttribute.cs
- Switch.cs
- DataSvcMapFile.cs
- ControlValuePropertyAttribute.cs
- ZoneButton.cs
- LeftCellWrapper.cs
- HttpListenerTimeoutManager.cs
- PersonalizableTypeEntry.cs
- HttpListenerContext.cs
- ComboBoxRenderer.cs
- UserControl.cs
- SubMenuStyle.cs
- SchemaImporter.cs
- BinHexEncoder.cs
- CredentialSelector.cs
- HttpWriter.cs
- PropertyItemInternal.cs
- SharedStream.cs
- WSDualHttpBinding.cs
- PenCursorManager.cs
- HierarchicalDataSourceControl.cs
- DesignerEditorPartChrome.cs
- PropertyEmitter.cs
- TransactionFlowElement.cs
- QueryOutputWriter.cs
- FocusWithinProperty.cs
- WpfGeneratedKnownTypes.cs
- InvokeMethodActivityDesigner.cs
- DependencyObjectType.cs
- PropertyStore.cs
- MappedMetaModel.cs
- IgnorePropertiesAttribute.cs
- COM2PictureConverter.cs
- DBSqlParserTableCollection.cs
- InputScopeAttribute.cs
- StrokeIntersection.cs
- IgnoreSectionHandler.cs
- XmlNodeChangedEventArgs.cs
- CreateRefExpr.cs
- SizeConverter.cs
- WindowsGraphicsWrapper.cs
- ConnectionPoolManager.cs
- QueryReaderSettings.cs
- fixedPageContentExtractor.cs
- FixedSOMTable.cs
- HttpPostLocalhostServerProtocol.cs