Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataGridViewCellParsingEventArgs.cs
- LockRenewalTask.cs
- HashSet.cs
- FontDifferentiator.cs
- DataGridLengthConverter.cs
- TriggerBase.cs
- DomainLiteralReader.cs
- VerticalAlignConverter.cs
- DataGridViewRow.cs
- XPathScanner.cs
- SemaphoreFullException.cs
- ToolBar.cs
- SqlExpressionNullability.cs
- CodeTypeParameter.cs
- EventLogSession.cs
- PrintDialogDesigner.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- ForceCopyBuildProvider.cs
- NoClickablePointException.cs
- LabelEditEvent.cs
- DocumentOrderQuery.cs
- TreeViewHitTestInfo.cs
- SettingsAttributeDictionary.cs
- FixedSOMSemanticBox.cs
- WebControlToolBoxItem.cs
- DisableDpiAwarenessAttribute.cs
- XPathDescendantIterator.cs
- TaskSchedulerException.cs
- StringUtil.cs
- RepeaterCommandEventArgs.cs
- Rect3DConverter.cs
- ScrollChrome.cs
- CrossAppDomainChannel.cs
- ObjectStateEntry.cs
- Logging.cs
- Constants.cs
- MarkupWriter.cs
- TimeStampChecker.cs
- columnmapkeybuilder.cs
- ProxySimple.cs
- AttachedPropertyMethodSelector.cs
- WebPartDisplayMode.cs
- IfAction.cs
- GuidTagList.cs
- Slider.cs
- ConsoleKeyInfo.cs
- HtmlTableRowCollection.cs
- TagMapCollection.cs
- MenuTracker.cs
- ControlsConfig.cs
- ConfigXmlText.cs
- RecognizerInfo.cs
- StrongTypingException.cs
- SspiHelper.cs
- SqlVersion.cs
- Int32Storage.cs
- CssStyleCollection.cs
- NamedElement.cs
- ConfigXmlAttribute.cs
- MaskInputRejectedEventArgs.cs
- RedistVersionInfo.cs
- CompensationExtension.cs
- ContentPresenter.cs
- PartialList.cs
- SystemWebExtensionsSectionGroup.cs
- ControlCachePolicy.cs
- XmlnsDictionary.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- XhtmlCssHandler.cs
- XmlSchemaAny.cs
- RequestQueryParser.cs
- ContentType.cs
- ZipIOCentralDirectoryBlock.cs
- HtmlWindowCollection.cs
- UserControlDesigner.cs
- UserControlCodeDomTreeGenerator.cs
- AppModelKnownContentFactory.cs
- CredentialCache.cs
- TextSpanModifier.cs
- AssemblyFilter.cs
- IntegerValidator.cs
- SoapDocumentMethodAttribute.cs
- CodeDesigner.cs
- SqlCommandSet.cs
- WhitespaceRule.cs
- MenuItemCollectionEditorDialog.cs
- Util.cs
- RawStylusInputCustomData.cs
- ShaderEffect.cs
- ScriptDescriptor.cs
- CatalogPart.cs
- ToolStripItemCollection.cs
- PageContentAsyncResult.cs
- DiscoveryDocumentReference.cs
- DataGridViewRowStateChangedEventArgs.cs
- InvokePatternIdentifiers.cs
- ClientTargetSection.cs
- WebPartManager.cs
- ComponentRenameEvent.cs