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
- MergePropertyDescriptor.cs
- EdmFunctionAttribute.cs
- MetadataCache.cs
- StorageModelBuildProvider.cs
- DataListComponentEditor.cs
- XmlTextEncoder.cs
- NetworkInterface.cs
- WebPartConnectionsConnectVerb.cs
- smtpconnection.cs
- BufferBuilder.cs
- ValidatedControlConverter.cs
- StateBag.cs
- TextTreeTextBlock.cs
- Unit.cs
- DBSchemaTable.cs
- UserControl.cs
- HttpFileCollection.cs
- TemplateXamlParser.cs
- ViewStateException.cs
- ElementHostAutomationPeer.cs
- FilterableAttribute.cs
- DrawListViewItemEventArgs.cs
- safemediahandle.cs
- ExpandableObjectConverter.cs
- AuthenticationManager.cs
- TableLayoutRowStyleCollection.cs
- unsafenativemethodsother.cs
- Hashtable.cs
- OdbcConnectionString.cs
- Util.cs
- PageThemeCodeDomTreeGenerator.cs
- FormatException.cs
- Menu.cs
- CompositionAdorner.cs
- AvTrace.cs
- Pipe.cs
- IndexingContentUnit.cs
- MenuRenderer.cs
- ping.cs
- WebResponse.cs
- FormatVersion.cs
- MdiWindowListItemConverter.cs
- HttpCookieCollection.cs
- InvokeProviderWrapper.cs
- ValueConversionAttribute.cs
- ScrollChrome.cs
- LockCookie.cs
- ListViewInsertedEventArgs.cs
- categoryentry.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ConfigXmlWhitespace.cs
- DropShadowEffect.cs
- ApplicationException.cs
- TextBlockAutomationPeer.cs
- ToolStripTextBox.cs
- FolderLevelBuildProvider.cs
- externdll.cs
- COAUTHINFO.cs
- TypedAsyncResult.cs
- WmlLinkAdapter.cs
- _DisconnectOverlappedAsyncResult.cs
- ExtensionWindow.cs
- PriorityChain.cs
- OleDbMetaDataFactory.cs
- QueryCursorEventArgs.cs
- BitmapEffectvisualstate.cs
- ClientSettingsSection.cs
- ToolStripArrowRenderEventArgs.cs
- FragmentQuery.cs
- IImplicitResourceProvider.cs
- NameValueConfigurationElement.cs
- BitmapEffectGroup.cs
- DbUpdateCommandTree.cs
- Misc.cs
- filewebrequest.cs
- ControlUtil.cs
- RequiredAttributeAttribute.cs
- EntityDataSourceEntityTypeFilterItem.cs
- CustomAttributeBuilder.cs
- TextBounds.cs
- ElementNotEnabledException.cs
- WorkflowElementDialogWindow.xaml.cs
- Animatable.cs
- JsonServiceDocumentSerializer.cs
- SettingsBindableAttribute.cs
- SystemIPInterfaceStatistics.cs
- Light.cs
- basevalidator.cs
- LayoutTableCell.cs
- SchemaImporterExtensionElementCollection.cs
- DesignerVerb.cs
- AssemblyHelper.cs
- __Error.cs
- OletxVolatileEnlistment.cs
- TextServicesLoader.cs
- BooleanFunctions.cs
- URLEditor.cs
- DataFieldCollectionEditor.cs
- RepeatInfo.cs
- ContainsRowNumberChecker.cs