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
- HashCodeCombiner.cs
- MessageDecoder.cs
- MetadataItem_Static.cs
- XmlAnyAttributeAttribute.cs
- FileReader.cs
- TextEncodedRawTextWriter.cs
- InputScopeNameConverter.cs
- TableStyle.cs
- MemberListBinding.cs
- TextServicesCompartmentContext.cs
- WebContext.cs
- VectorConverter.cs
- ResourceDictionaryCollection.cs
- StrongNameSignatureInformation.cs
- TableLayoutSettingsTypeConverter.cs
- XXXOnTypeBuilderInstantiation.cs
- FormViewUpdatedEventArgs.cs
- SqlStream.cs
- WindowsPen.cs
- SqlConnectionHelper.cs
- CodeVariableDeclarationStatement.cs
- DateTimeStorage.cs
- VScrollBar.cs
- ValidationErrorEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- _NativeSSPI.cs
- HttpCacheParams.cs
- HitTestFilterBehavior.cs
- XmlAtomicValue.cs
- CodeCompileUnit.cs
- AsymmetricKeyExchangeDeformatter.cs
- SmtpMail.cs
- InlineUIContainer.cs
- DoubleAnimationUsingPath.cs
- ConfigurationLockCollection.cs
- util.cs
- WsdlInspector.cs
- AddInStore.cs
- RuntimeResourceSet.cs
- WebPartPersonalization.cs
- RemotingConfigParser.cs
- ColumnPropertiesGroup.cs
- FrameworkElementFactoryMarkupObject.cs
- VirtualizedItemPattern.cs
- EventListener.cs
- SoapReflectionImporter.cs
- ObjectView.cs
- LoginCancelEventArgs.cs
- AtomContentProperty.cs
- Size3D.cs
- SmiRequestExecutor.cs
- BindingParameterCollection.cs
- TypeDependencyAttribute.cs
- StrongNameKeyPair.cs
- ContainerVisual.cs
- Activity.cs
- GridViewRowPresenterBase.cs
- FacetValues.cs
- TimeManager.cs
- __Filters.cs
- UpdatePanel.cs
- FusionWrap.cs
- SectionInput.cs
- diagnosticsswitches.cs
- TriState.cs
- DoubleAnimationUsingPath.cs
- MediaElement.cs
- StickyNoteHelper.cs
- SecondaryIndex.cs
- ELinqQueryState.cs
- HttpDateParse.cs
- XamlPoint3DCollectionSerializer.cs
- FindCriteria11.cs
- CloudCollection.cs
- ChangeInterceptorAttribute.cs
- LogicalExpr.cs
- AppSettingsReader.cs
- DiagnosticTraceSource.cs
- BindingCollection.cs
- OrderedEnumerableRowCollection.cs
- XmlSchemaAttributeGroup.cs
- basecomparevalidator.cs
- FrameworkElement.cs
- CultureInfoConverter.cs
- BrushValueSerializer.cs
- WebPart.cs
- ColorTranslator.cs
- HandlerMappingMemo.cs
- IndexedEnumerable.cs
- ListenerSingletonConnectionReader.cs
- XmlSchemaSimpleContentRestriction.cs
- DescendantOverDescendantQuery.cs
- Package.cs
- ResolvedKeyFrameEntry.cs
- NamespaceMapping.cs
- SQLInt32Storage.cs
- ImageField.cs
- CancellationTokenSource.cs
- HttpDebugHandler.cs
- Thickness.cs