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
- LinqMaximalSubtreeNominator.cs
- IndicShape.cs
- EntityDataSourceWrapperCollection.cs
- WebPartCollection.cs
- SQLString.cs
- ExtentCqlBlock.cs
- UseAttributeSetsAction.cs
- OLEDB_Enum.cs
- SafePipeHandle.cs
- SmtpSection.cs
- RefreshEventArgs.cs
- DocumentEventArgs.cs
- EnumConverter.cs
- PanelStyle.cs
- UInt64Converter.cs
- NavigationHelper.cs
- Image.cs
- SessionPageStateSection.cs
- SiteIdentityPermission.cs
- WarningException.cs
- WindowsImpersonationContext.cs
- Ray3DHitTestResult.cs
- assertwrapper.cs
- ObjectMemberMapping.cs
- LogLogRecord.cs
- WindowsButton.cs
- OracleTransaction.cs
- ApplicationGesture.cs
- TreeView.cs
- ExcludeFromCodeCoverageAttribute.cs
- OdbcError.cs
- SkipQueryOptionExpression.cs
- FlowNode.cs
- GenericUriParser.cs
- MD5Cng.cs
- ParseNumbers.cs
- TextEffectCollection.cs
- XmlCharCheckingWriter.cs
- SortedList.cs
- CategoryAttribute.cs
- EventEntry.cs
- AddInAdapter.cs
- DataGridAddNewRow.cs
- DataRowView.cs
- DomainConstraint.cs
- CodeCastExpression.cs
- PartialArray.cs
- X509Chain.cs
- Gdiplus.cs
- InputDevice.cs
- CompoundFileReference.cs
- WebBaseEventKeyComparer.cs
- XPathItem.cs
- TreeView.cs
- CodeTypeDelegate.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ListBox.cs
- AssemblyCollection.cs
- RoleManagerModule.cs
- InternalConfigRoot.cs
- VisualState.cs
- CustomErrorsSectionWrapper.cs
- ClientSettingsSection.cs
- TdsParserStateObject.cs
- ListControl.cs
- DataGridAddNewRow.cs
- Type.cs
- SystemTcpStatistics.cs
- InstallerTypeAttribute.cs
- XmlCharType.cs
- InfoCardBinaryReader.cs
- WebPartTransformerCollection.cs
- Variable.cs
- SHA1Managed.cs
- ConnectionStringSettings.cs
- MethodCallConverter.cs
- Quaternion.cs
- StatusBarItem.cs
- LineBreakRecord.cs
- AsymmetricKeyExchangeFormatter.cs
- propertyentry.cs
- SqlDataSourceSummaryPanel.cs
- CodeDelegateInvokeExpression.cs
- SystemResources.cs
- SqlEnums.cs
- TraceFilter.cs
- SelectionListComponentEditor.cs
- CodeObjectCreateExpression.cs
- ArrayTypeMismatchException.cs
- SystemIPGlobalStatistics.cs
- ConfigXmlDocument.cs
- PropertyValidationContext.cs
- WindowShowOrOpenTracker.cs
- bindurihelper.cs
- AjaxFrameworkAssemblyAttribute.cs
- Inline.cs
- StagingAreaInputItem.cs
- PseudoWebRequest.cs
- EventLogEntryCollection.cs
- Adorner.cs