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
- UserControlAutomationPeer.cs
- WaitForChangedResult.cs
- GestureRecognizer.cs
- x509utils.cs
- DomainUpDown.cs
- DeviceSpecific.cs
- RecognizerInfo.cs
- FileSecurity.cs
- InternalConfigHost.cs
- RemoteWebConfigurationHost.cs
- ConfigurationValidatorAttribute.cs
- DataGridBoolColumn.cs
- SqlBinder.cs
- StructuredProperty.cs
- WindowsListViewGroupSubsetLink.cs
- XamlStream.cs
- Item.cs
- precedingquery.cs
- RayMeshGeometry3DHitTestResult.cs
- PageTheme.cs
- Tokenizer.cs
- MaskedTextBox.cs
- ScrollBarRenderer.cs
- Rect.cs
- WasHttpModulesInstallComponent.cs
- InheritanceContextHelper.cs
- ApplyTemplatesAction.cs
- DBConnectionString.cs
- ZipPackagePart.cs
- CacheAxisQuery.cs
- MissingMemberException.cs
- PresentationSource.cs
- FormViewPagerRow.cs
- XLinq.cs
- Signature.cs
- QuadraticBezierSegment.cs
- DataListItemCollection.cs
- StructuredTypeInfo.cs
- HttpRequest.cs
- ChainedAsyncResult.cs
- ProjectionRewriter.cs
- MetadataItemEmitter.cs
- PointValueSerializer.cs
- SvcMapFileSerializer.cs
- StateInitializationDesigner.cs
- PrefixQName.cs
- StringUtil.cs
- TransactionBridgeSection.cs
- XmlWrappingReader.cs
- PersistenceTypeAttribute.cs
- ToolStripStatusLabel.cs
- StylusPlugInCollection.cs
- FileBasedResourceGroveler.cs
- TableLayoutPanelDesigner.cs
- StateChangeEvent.cs
- PresentationTraceSources.cs
- _LocalDataStoreMgr.cs
- DataGridViewCellEventArgs.cs
- XmlSchemaSet.cs
- SocketInformation.cs
- documentsequencetextcontainer.cs
- ToolStripItemClickedEventArgs.cs
- M3DUtil.cs
- OdbcParameter.cs
- Empty.cs
- SQLChars.cs
- handlecollector.cs
- TransformationRules.cs
- KeyedByTypeCollection.cs
- QueryUtil.cs
- FileStream.cs
- DateTime.cs
- ProgressBarAutomationPeer.cs
- GestureRecognitionResult.cs
- LinqDataSourceInsertEventArgs.cs
- Label.cs
- PartitionedStream.cs
- OdbcParameter.cs
- SoapTransportImporter.cs
- ActivityExecutorOperation.cs
- ColorAnimationBase.cs
- InstallerTypeAttribute.cs
- FileDialog.cs
- MetaType.cs
- CustomTokenProvider.cs
- ADRoleFactory.cs
- XPathException.cs
- AttributeCollection.cs
- TabletDevice.cs
- XmlSchemaSimpleTypeRestriction.cs
- TextViewSelectionProcessor.cs
- PageBorderless.cs
- StatementContext.cs
- IdentityReference.cs
- FixUp.cs
- XmlDataProvider.cs
- StrongNameUtility.cs
- StyleXamlParser.cs
- DataViewListener.cs
- HtmlInputRadioButton.cs