Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / ManifestResourceInfo.cs / 1305376 / 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; public 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. [Serializable] [Flags] [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; public 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. [Serializable] [Flags] [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
- BaseUriWithWildcard.cs
- LoadRetryHandler.cs
- CapabilitiesPattern.cs
- SqlRowUpdatingEvent.cs
- ColorContextHelper.cs
- DeclarativeCatalogPartDesigner.cs
- BooleanConverter.cs
- RotateTransform.cs
- BitmapEffectInput.cs
- HealthMonitoringSection.cs
- DataGridRow.cs
- ControlIdConverter.cs
- ReadWriteObjectLock.cs
- SafeThreadHandle.cs
- MultilineStringConverter.cs
- SecurityManager.cs
- StringDictionary.cs
- SkinBuilder.cs
- DataComponentNameHandler.cs
- InternalException.cs
- PathParser.cs
- SchemaNames.cs
- ProjectionPruner.cs
- BehaviorEditorPart.cs
- ComplexTypeEmitter.cs
- ServiceHostingEnvironment.cs
- MdiWindowListItemConverter.cs
- HuffmanTree.cs
- SliderAutomationPeer.cs
- MessagingActivityHelper.cs
- TableAdapterManagerGenerator.cs
- ApplicationSecurityManager.cs
- PolicyLevel.cs
- ProxyWebPartConnectionCollection.cs
- ValidationPropertyAttribute.cs
- DuplicateDetector.cs
- CodeTryCatchFinallyStatement.cs
- SqlMethods.cs
- UInt16Storage.cs
- DataGridViewRowEventArgs.cs
- UITypeEditors.cs
- GridSplitterAutomationPeer.cs
- EntityDesignerUtils.cs
- RadioButton.cs
- NativeMethods.cs
- BaseCodeDomTreeGenerator.cs
- ListView.cs
- ConnectionConsumerAttribute.cs
- StylusPlugin.cs
- TemplateControl.cs
- DatagramAdapter.cs
- Property.cs
- CalendarDay.cs
- DispatcherOperation.cs
- NavigationProperty.cs
- BatchStream.cs
- CodeDefaultValueExpression.cs
- ItemTypeToolStripMenuItem.cs
- ThumbAutomationPeer.cs
- NavigationExpr.cs
- BrushConverter.cs
- ScrollProperties.cs
- _MultipleConnectAsync.cs
- SmtpTransport.cs
- HttpRuntime.cs
- PassportIdentity.cs
- StoryFragments.cs
- LineGeometry.cs
- HtmlElementErrorEventArgs.cs
- PropertyChange.cs
- DataTableExtensions.cs
- GcHandle.cs
- QilName.cs
- ScaleTransform.cs
- TextSelectionHelper.cs
- LinqDataView.cs
- ClassValidator.cs
- ValueType.cs
- UpdateCompiler.cs
- IUnknownConstantAttribute.cs
- DataGridViewControlCollection.cs
- ExpressionDumper.cs
- ProvidersHelper.cs
- SrgsOneOf.cs
- SafeSecurityHelper.cs
- BuilderPropertyEntry.cs
- EncryptedType.cs
- DataGridViewComboBoxColumn.cs
- KeyboardDevice.cs
- AffineTransform3D.cs
- OrderedDictionary.cs
- Size.cs
- XmlDsigSep2000.cs
- BookmarkResumptionRecord.cs
- CompoundFileDeflateTransform.cs
- NameValueConfigurationCollection.cs
- Baml2006ReaderContext.cs
- DataChangedEventManager.cs
- SecurityUtils.cs
- _PooledStream.cs