Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Path.cs
- ConfigXmlSignificantWhitespace.cs
- ObjectDataSourceDisposingEventArgs.cs
- MembershipSection.cs
- TemplateControlBuildProvider.cs
- CallContext.cs
- Rotation3DKeyFrameCollection.cs
- SchemaImporter.cs
- ISessionStateStore.cs
- AsymmetricKeyExchangeDeformatter.cs
- SQLString.cs
- GridViewPageEventArgs.cs
- MsmqAppDomainProtocolHandler.cs
- NamespaceInfo.cs
- SymDocumentType.cs
- PeerNameResolver.cs
- FieldMetadata.cs
- TreeNodeBinding.cs
- ProviderManager.cs
- PeerResolverMode.cs
- UIElementAutomationPeer.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- UnsafeNativeMethods.cs
- MetadataFile.cs
- HttpListenerContext.cs
- WindowsPen.cs
- TreeNodeSelectionProcessor.cs
- EndpointAddressMessageFilterTable.cs
- AnyAllSearchOperator.cs
- DataControlFieldCollection.cs
- SourceItem.cs
- DesignConnectionCollection.cs
- CodeMethodInvokeExpression.cs
- GenerateTemporaryTargetAssembly.cs
- RoleManagerModule.cs
- CollectionEditor.cs
- TraceInternal.cs
- SafeRightsManagementSessionHandle.cs
- BitmapVisualManager.cs
- PersonalizationDictionary.cs
- PageCodeDomTreeGenerator.cs
- RoutedUICommand.cs
- MetadataArtifactLoaderFile.cs
- Timer.cs
- BindingOperations.cs
- SelectionWordBreaker.cs
- XmlAttributeCollection.cs
- HttpCacheParams.cs
- TreeNodeClickEventArgs.cs
- ConditionalAttribute.cs
- SchemaEntity.cs
- BrushConverter.cs
- DbTransaction.cs
- HtmlValidatorAdapter.cs
- CrossAppDomainChannel.cs
- TCPListener.cs
- GridViewRowEventArgs.cs
- Operators.cs
- ParsedAttributeCollection.cs
- CalendarDayButton.cs
- CodeDomConfigurationHandler.cs
- HtmlInputText.cs
- StatusBarItemAutomationPeer.cs
- SqlDataSourceCommandEventArgs.cs
- ArgumentsParser.cs
- ListBindingHelper.cs
- TableCell.cs
- CodeIterationStatement.cs
- regiisutil.cs
- XmlSignificantWhitespace.cs
- EventMappingSettings.cs
- TextOnlyOutput.cs
- ZipIOModeEnforcingStream.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- entityreference_tresulttype.cs
- ExcludePathInfo.cs
- AssemblyHelper.cs
- DataGridColumnHeader.cs
- Command.cs
- CalendarDateChangedEventArgs.cs
- Membership.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- RuleConditionDialog.Designer.cs
- Component.cs
- RegionInfo.cs
- ComponentResourceKeyConverter.cs
- ResolvePPIDRequest.cs
- UnsettableComboBox.cs
- ReachSerializationCacheItems.cs
- NavigationPropertySingletonExpression.cs
- ProxyWebPartConnectionCollection.cs
- XmlCharacterData.cs
- HttpModuleCollection.cs
- RemoteWebConfigurationHost.cs
- SafeFileMappingHandle.cs
- TokenBasedSetEnumerator.cs
- TreeViewImageIndexConverter.cs
- ResourceExpression.cs
- CultureTableRecord.cs
- XhtmlConformanceSection.cs