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
- LocatorGroup.cs
- SqlXmlStorage.cs
- WaitHandle.cs
- Thickness.cs
- ConstantCheck.cs
- ManagementOptions.cs
- InkCollectionBehavior.cs
- EventLogPermission.cs
- FixedTextSelectionProcessor.cs
- AssemblyLoader.cs
- PerformanceCounterPermissionEntry.cs
- SystemIPv4InterfaceProperties.cs
- ProjectionPruner.cs
- Win32KeyboardDevice.cs
- WebCodeGenerator.cs
- ColorConverter.cs
- Padding.cs
- UniqueEventHelper.cs
- CodeIdentifier.cs
- Model3D.cs
- SamlSecurityTokenAuthenticator.cs
- SequenceRangeCollection.cs
- File.cs
- Normalization.cs
- SamlConditions.cs
- InvalidCastException.cs
- SqlDataSourceTableQuery.cs
- ListSourceHelper.cs
- Int16AnimationBase.cs
- DataTemplateKey.cs
- DbProviderServices.cs
- DeadCharTextComposition.cs
- grammarelement.cs
- ProxyWebPartManager.cs
- RoutedPropertyChangedEventArgs.cs
- XmlSchemaComplexType.cs
- ArraySegment.cs
- IntegerFacetDescriptionElement.cs
- DataIdProcessor.cs
- EntityDataSourceViewSchema.cs
- ToolStripDropTargetManager.cs
- ImageAttributes.cs
- SiteMapSection.cs
- ItemTypeToolStripMenuItem.cs
- PartialCachingAttribute.cs
- XsltCompileContext.cs
- AccessControlList.cs
- SqlDataSourceQuery.cs
- SoapWriter.cs
- ProxyHelper.cs
- PerformanceCounterLib.cs
- SystemInformation.cs
- WindowsListBox.cs
- CommandTreeTypeHelper.cs
- OleDbInfoMessageEvent.cs
- StylusPlugin.cs
- SimpleMailWebEventProvider.cs
- HttpStreamMessageEncoderFactory.cs
- XmlHierarchicalDataSourceView.cs
- WsrmTraceRecord.cs
- PackageRelationshipSelector.cs
- SymmetricAlgorithm.cs
- SqlCacheDependency.cs
- StyleSheetComponentEditor.cs
- StateChangeEvent.cs
- XmlDeclaration.cs
- HierarchicalDataBoundControl.cs
- RegexStringValidator.cs
- XmlArrayItemAttribute.cs
- SplayTreeNode.cs
- XmlSchemaAnnotated.cs
- CodeGotoStatement.cs
- ConsumerConnectionPointCollection.cs
- MultiBindingExpression.cs
- LeafCellTreeNode.cs
- DivideByZeroException.cs
- SecurityMessageProperty.cs
- TCPClient.cs
- SyntaxCheck.cs
- COM2TypeInfoProcessor.cs
- safex509handles.cs
- JsonClassDataContract.cs
- Quack.cs
- ScopeElementCollection.cs
- StringStorage.cs
- InputScopeNameConverter.cs
- DrawListViewColumnHeaderEventArgs.cs
- StringUtil.cs
- DrawListViewColumnHeaderEventArgs.cs
- storepermission.cs
- Variant.cs
- FusionWrap.cs
- IODescriptionAttribute.cs
- WebPartConnectVerb.cs
- Column.cs
- ObjectDataSourceFilteringEventArgs.cs
- ListViewDeleteEventArgs.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- milrender.cs
- StyleTypedPropertyAttribute.cs