Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HttpModuleActionCollection.cs
- BoundColumn.cs
- DockProviderWrapper.cs
- MsmqException.cs
- MemoryStream.cs
- WebServiceReceiveDesigner.cs
- ActiveXHelper.cs
- BrowserCapabilitiesCodeGenerator.cs
- DocumentPage.cs
- RelatedView.cs
- StaticResourceExtension.cs
- DataGridViewRowStateChangedEventArgs.cs
- BCLDebug.cs
- SoapReflectionImporter.cs
- TemplateGroupCollection.cs
- DBCSCodePageEncoding.cs
- CellCreator.cs
- ViewBox.cs
- QilGenerator.cs
- TabletCollection.cs
- WebServiceMethodData.cs
- ColorConvertedBitmap.cs
- CacheMemory.cs
- ColorContext.cs
- WaveHeader.cs
- InvokeMethodActivityDesigner.cs
- COM2ColorConverter.cs
- XmlCharCheckingWriter.cs
- CryptoHelper.cs
- IfAction.cs
- SqlTypeConverter.cs
- SoapElementAttribute.cs
- Brush.cs
- MailMessageEventArgs.cs
- ColorMap.cs
- IInstanceContextProvider.cs
- RepeatBehaviorConverter.cs
- WebPartDisplayModeEventArgs.cs
- WindowHideOrCloseTracker.cs
- XamlWrappingReader.cs
- HttpHeaderCollection.cs
- Processor.cs
- Win32MouseDevice.cs
- LinkDescriptor.cs
- DataSourceBooleanViewSchemaConverter.cs
- PositiveTimeSpanValidator.cs
- PeerTransportCredentialType.cs
- AttachInfo.cs
- ModelPropertyCollectionImpl.cs
- MouseGestureValueSerializer.cs
- WindowsTokenRoleProvider.cs
- WebPart.cs
- BuildManager.cs
- ParallelTimeline.cs
- AtomServiceDocumentSerializer.cs
- DynamicObject.cs
- WindowsListViewGroup.cs
- CheckBox.cs
- BitmapData.cs
- DataGridViewAutoSizeModeEventArgs.cs
- HtmlEmptyTagControlBuilder.cs
- DispatchChannelSink.cs
- EmptyTextWriter.cs
- CompletionBookmark.cs
- FontConverter.cs
- WorkflowDesignerColors.cs
- KeyValueConfigurationElement.cs
- ReadOnlyActivityGlyph.cs
- Adorner.cs
- RequiredAttributeAttribute.cs
- HttpCapabilitiesEvaluator.cs
- Message.cs
- DesignerValidatorAdapter.cs
- ResourceExpression.cs
- ServiceContractGenerator.cs
- Transform.cs
- TypeBuilderInstantiation.cs
- ObjectParameter.cs
- LineBreak.cs
- CollectionContainer.cs
- WSHttpBindingCollectionElement.cs
- TextEndOfParagraph.cs
- BridgeDataReader.cs
- EventWaitHandle.cs
- unitconverter.cs
- UndoManager.cs
- RadialGradientBrush.cs
- SqlDependency.cs
- SqlProvider.cs
- UnmanagedMemoryStreamWrapper.cs
- EntityDataSourceValidationException.cs
- InstancePersistenceCommand.cs
- ClientBuildManagerCallback.cs
- Odbc32.cs
- PropertyGridDesigner.cs
- DbExpressionVisitor.cs
- EntityCommandCompilationException.cs
- Evidence.cs
- ComplusEndpointConfigContainer.cs
- BamlReader.cs