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
- DispatcherHooks.cs
- OdbcConnectionString.cs
- ResXDataNode.cs
- LineServices.cs
- ActivityWithResult.cs
- HttpResponseBase.cs
- PlatformCulture.cs
- RSAOAEPKeyExchangeDeformatter.cs
- RemotingServices.cs
- Point4DConverter.cs
- MenuItemBinding.cs
- MapPathBasedVirtualPathProvider.cs
- SafeMILHandle.cs
- TaskFormBase.cs
- ServiceOperationParameter.cs
- EmitterCache.cs
- TypeConverterValueSerializer.cs
- XmlNavigatorStack.cs
- WebEvents.cs
- ExtensionSimplifierMarkupObject.cs
- SelectionEditingBehavior.cs
- PropertyPathWorker.cs
- QilScopedVisitor.cs
- PieceNameHelper.cs
- SerializationObjectManager.cs
- BezierSegment.cs
- TemplateInstanceAttribute.cs
- LinkArea.cs
- UmAlQuraCalendar.cs
- FlowLayout.cs
- SqlDataSourceConfigureSelectPanel.cs
- NonBatchDirectoryCompiler.cs
- HMACSHA1.cs
- ContextDataSourceView.cs
- SupportsEventValidationAttribute.cs
- DatePickerAutomationPeer.cs
- DesignerGeometryHelper.cs
- FontSource.cs
- RuleSettingsCollection.cs
- HttpListenerPrefixCollection.cs
- iisPickupDirectory.cs
- UTF7Encoding.cs
- AppearanceEditorPart.cs
- ToolboxItemWrapper.cs
- DateTimeFormatInfo.cs
- ColumnPropertiesGroup.cs
- SoapAttributes.cs
- NamespaceQuery.cs
- SerializationInfo.cs
- CompilerParameters.cs
- ListBox.cs
- DtdParser.cs
- Models.cs
- IIS7WorkerRequest.cs
- CfgParser.cs
- ToolStripManager.cs
- DataServiceConfiguration.cs
- BrowserDefinitionCollection.cs
- MemberDescriptor.cs
- XmlUrlResolver.cs
- CollectionBuilder.cs
- SqlFacetAttribute.cs
- backend.cs
- SemanticResultKey.cs
- EnvironmentPermission.cs
- ThreadAttributes.cs
- DataServiceRequestArgs.cs
- DataControlLinkButton.cs
- BindUriHelper.cs
- HttpModulesSection.cs
- MdiWindowListStrip.cs
- PatternMatcher.cs
- InputEventArgs.cs
- FixedSOMImage.cs
- FormViewUpdatedEventArgs.cs
- EventSinkHelperWriter.cs
- MetadataFile.cs
- GPPOINTF.cs
- Pair.cs
- RenderContext.cs
- PersonalizationStateInfoCollection.cs
- RectAnimationClockResource.cs
- ConfigurationLoaderException.cs
- FixedSOMPage.cs
- TagNameToTypeMapper.cs
- ProtocolsConfiguration.cs
- TextRenderingModeValidation.cs
- CodeGenerator.cs
- TreeNodeSelectionProcessor.cs
- ISAPIRuntime.cs
- DataRowView.cs
- ConsoleCancelEventArgs.cs
- KeyProperty.cs
- NullableFloatMinMaxAggregationOperator.cs
- HtmlElementEventArgs.cs
- Graph.cs
- NonBatchDirectoryCompiler.cs
- Imaging.cs
- RetrieveVirtualItemEventArgs.cs
- IndependentlyAnimatedPropertyMetadata.cs