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
- ForEachAction.cs
- ComponentResourceKeyConverter.cs
- DataGridAddNewRow.cs
- BaseCollection.cs
- Stack.cs
- EntityConnectionStringBuilder.cs
- ParameterBuilder.cs
- OutputCacheSettings.cs
- NumericUpDownAcceleration.cs
- DynamicMethod.cs
- StretchValidation.cs
- DataColumnMapping.cs
- PartialCachingControl.cs
- translator.cs
- ManagementPath.cs
- ActionMismatchAddressingException.cs
- Popup.cs
- BrowserCapabilitiesFactoryBase.cs
- ContractSearchPattern.cs
- DbProviderFactoriesConfigurationHandler.cs
- Executor.cs
- ToolStripDropDownClosedEventArgs.cs
- FontWeightConverter.cs
- MembershipValidatePasswordEventArgs.cs
- SemanticAnalyzer.cs
- HtmlInputRadioButton.cs
- EntityException.cs
- documentsequencetextcontainer.cs
- XamlUtilities.cs
- FileDialog.cs
- DataRecordInternal.cs
- MethodBuilderInstantiation.cs
- MenuItemBinding.cs
- OlePropertyStructs.cs
- CryptoConfig.cs
- PersonalizationProviderHelper.cs
- TypeDependencyAttribute.cs
- Enumerable.cs
- BaseAsyncResult.cs
- SecurityElement.cs
- AuthenticatingEventArgs.cs
- DataGridDetailsPresenterAutomationPeer.cs
- InputQueue.cs
- ExpressionNode.cs
- Shape.cs
- XPathParser.cs
- SqlMethodAttribute.cs
- RoutedEventConverter.cs
- SettingsContext.cs
- SchemaSetCompiler.cs
- HttpHandlerActionCollection.cs
- IdentityNotMappedException.cs
- Vector3DValueSerializer.cs
- GenerateScriptTypeAttribute.cs
- ConfigXmlElement.cs
- ConfigurationCollectionAttribute.cs
- GeometryDrawing.cs
- DesignerActionItem.cs
- DragEventArgs.cs
- ToolStripItemEventArgs.cs
- URL.cs
- SkinBuilder.cs
- Int16.cs
- WebInvokeAttribute.cs
- XPathPatternParser.cs
- CngKeyCreationParameters.cs
- SystemParameters.cs
- RelationshipDetailsRow.cs
- KeyEventArgs.cs
- GridViewColumnCollectionChangedEventArgs.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- OleDbEnumerator.cs
- SpecialNameAttribute.cs
- SchemaNamespaceManager.cs
- TaskResultSetter.cs
- EnvelopedPkcs7.cs
- ExtentKey.cs
- CodeCatchClauseCollection.cs
- XmlValidatingReader.cs
- TextPointer.cs
- BoundField.cs
- DataSourceHelper.cs
- XmlObjectSerializerContext.cs
- SystemWebSectionGroup.cs
- ProtocolsSection.cs
- ScriptReference.cs
- StickyNoteAnnotations.cs
- ClientConvert.cs
- XamlTreeBuilder.cs
- EventLogEntryCollection.cs
- ValidationSummaryDesigner.cs
- CollectionAdapters.cs
- MouseCaptureWithinProperty.cs
- X500Name.cs
- UserThread.cs
- AlgoModule.cs
- UnsafeNativeMethods.cs
- TypeKeyValue.cs
- SplitterPanel.cs
- typedescriptorpermissionattribute.cs