Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ModifiableIteratorCollection.cs
- Stream.cs
- ConvertTextFrag.cs
- NativeMethodsOther.cs
- SecurityStateEncoder.cs
- EntityDataSourceQueryBuilder.cs
- KeyInterop.cs
- CatalogPartCollection.cs
- ToolStripEditorManager.cs
- Delegate.cs
- WorkflowFileItem.cs
- HtmlHistory.cs
- ValidationEventArgs.cs
- CategoryGridEntry.cs
- DeferredBinaryDeserializerExtension.cs
- NotFiniteNumberException.cs
- ModelVisual3D.cs
- ListViewGroupItemCollection.cs
- ControlTemplate.cs
- ClientTarget.cs
- EntityEntry.cs
- XmlCharType.cs
- QueryOptionExpression.cs
- TextDecorationUnitValidation.cs
- UnsafeNativeMethods.cs
- SqlError.cs
- WorkflowMessageEventHandler.cs
- ManagedIStream.cs
- InvalidEnumArgumentException.cs
- DataProtection.cs
- CacheModeConverter.cs
- util.cs
- ExpressionBuilderContext.cs
- Panel.cs
- SqlUserDefinedAggregateAttribute.cs
- MarshalDirectiveException.cs
- SQLString.cs
- ColumnWidthChangingEvent.cs
- CryptoConfig.cs
- HtmlTernaryTree.cs
- BitmapEffectInput.cs
- ListViewUpdatedEventArgs.cs
- OleDbPermission.cs
- ContentPropertyAttribute.cs
- Stopwatch.cs
- HttpPostLocalhostServerProtocol.cs
- InertiaTranslationBehavior.cs
- XhtmlTextWriter.cs
- HashLookup.cs
- PathGeometry.cs
- WinFormsUtils.cs
- ColumnResizeUndoUnit.cs
- CompoundFileReference.cs
- DiffuseMaterial.cs
- PropertyToken.cs
- TemplateBindingExtension.cs
- GuidelineCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- GregorianCalendarHelper.cs
- Image.cs
- ResourceCodeDomSerializer.cs
- XPathItem.cs
- WebPartUtil.cs
- CaseCqlBlock.cs
- wmiprovider.cs
- IPHostEntry.cs
- FontNamesConverter.cs
- ErrorFormatter.cs
- MemberInfoSerializationHolder.cs
- CompositeTypefaceMetrics.cs
- HwndStylusInputProvider.cs
- KeyInfo.cs
- ContractType.cs
- RecognizerBase.cs
- SmiMetaDataProperty.cs
- BooleanExpr.cs
- SelectionHighlightInfo.cs
- Compensate.cs
- SQLInt16.cs
- CLSCompliantAttribute.cs
- XmlQueryOutput.cs
- Collection.cs
- InternalControlCollection.cs
- XhtmlBasicCommandAdapter.cs
- COM2IProvidePropertyBuilderHandler.cs
- IndexedString.cs
- IfAction.cs
- CngKeyCreationParameters.cs
- GroupedContextMenuStrip.cs
- ActiveXContainer.cs
- ScrollViewerAutomationPeer.cs
- ColorConverter.cs
- Rect3D.cs
- HttpResponseWrapper.cs
- MsmqPoisonMessageException.cs
- PersistChildrenAttribute.cs
- SqlXml.cs
- SplayTreeNode.cs
- XmlSchemaValidator.cs
- CardSpacePolicyElement.cs