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
- PanelContainerDesigner.cs
- ValueChangedEventManager.cs
- Evaluator.cs
- SchemaNamespaceManager.cs
- SubqueryRules.cs
- SpellerInterop.cs
- UnauthorizedAccessException.cs
- HtmlInputImage.cs
- EventlogProvider.cs
- LockedAssemblyCache.cs
- FlowDocumentFormatter.cs
- ErrorWrapper.cs
- SqlProviderServices.cs
- Buffer.cs
- ResourceExpressionEditor.cs
- PerformanceCounterCategory.cs
- PlacementWorkspace.cs
- SmiTypedGetterSetter.cs
- CurrencyWrapper.cs
- ToolStripPanelRenderEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- PageCache.cs
- ParameterToken.cs
- ContainerFilterService.cs
- ByteArrayHelperWithString.cs
- MergablePropertyAttribute.cs
- CellRelation.cs
- Grid.cs
- XPathChildIterator.cs
- BinaryKeyIdentifierClause.cs
- TraceInternal.cs
- CaseInsensitiveHashCodeProvider.cs
- QilInvokeEarlyBound.cs
- DesignTable.cs
- UnsafeNativeMethods.cs
- IssuanceLicense.cs
- CategoryNameCollection.cs
- ToolStripKeyboardHandlingService.cs
- PartBasedPackageProperties.cs
- DesignerInterfaces.cs
- InvalidFilterCriteriaException.cs
- AnnotationService.cs
- Int64Converter.cs
- ServiceContractGenerationContext.cs
- CompilationSection.cs
- OSFeature.cs
- MouseActionValueSerializer.cs
- MediaContextNotificationWindow.cs
- ListControlConvertEventArgs.cs
- SqlError.cs
- RegisteredArrayDeclaration.cs
- ListViewSelectEventArgs.cs
- XmlSchemaComplexContentRestriction.cs
- TextElementEditingBehaviorAttribute.cs
- ControlPropertyNameConverter.cs
- SiteMapPath.cs
- Gdiplus.cs
- wmiprovider.cs
- exports.cs
- EventLogRecord.cs
- HttpProfileGroupBase.cs
- HtmlHistory.cs
- TextSelectionProcessor.cs
- CatalogPart.cs
- WindowsTab.cs
- ToolStripPanelRow.cs
- OleDbReferenceCollection.cs
- XmlILAnnotation.cs
- Logging.cs
- PrinterResolution.cs
- LateBoundBitmapDecoder.cs
- MobilePage.cs
- ResourceSetExpression.cs
- BindingBase.cs
- OAVariantLib.cs
- ArrayTypeMismatchException.cs
- ResXFileRef.cs
- WebPartConnectionsCancelEventArgs.cs
- WebPartAddingEventArgs.cs
- RuleProcessor.cs
- ToolStripContentPanelRenderEventArgs.cs
- JoinCqlBlock.cs
- PrintDialogDesigner.cs
- DataGridViewDataErrorEventArgs.cs
- IRCollection.cs
- FlowDocumentView.cs
- OperandQuery.cs
- StringWriter.cs
- TreePrinter.cs
- PropertyRecord.cs
- ConfigurationElementProperty.cs
- FullTrustAssemblyCollection.cs
- TdsParameterSetter.cs
- RewritingSimplifier.cs
- MessageBox.cs
- FormViewInsertedEventArgs.cs
- CopyCodeAction.cs
- Color.cs
- CalendarDay.cs
- DataServiceRequest.cs