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
- OperationDescriptionCollection.cs
- CategoriesDocumentFormatter.cs
- PageWrapper.cs
- Run.cs
- RijndaelManagedTransform.cs
- HashCodeCombiner.cs
- ToolStripComboBox.cs
- CTreeGenerator.cs
- PropertyGridEditorPart.cs
- ByteConverter.cs
- MessageAction.cs
- TypefaceMap.cs
- StructuredProperty.cs
- HelpInfo.cs
- PageAsyncTaskManager.cs
- ConstructorExpr.cs
- StickyNoteContentControl.cs
- FixUpCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- ChunkedMemoryStream.cs
- DataTablePropertyDescriptor.cs
- WebPartEditorApplyVerb.cs
- BooleanSwitch.cs
- EdmItemCollection.cs
- _NegoStream.cs
- IxmlLineInfo.cs
- CompilerParameters.cs
- FirstMatchCodeGroup.cs
- ScriptReference.cs
- IndexedEnumerable.cs
- OleTxTransactionInfo.cs
- _TLSstream.cs
- FileDialog_Vista.cs
- OutputWindow.cs
- ParserContext.cs
- ComponentRenameEvent.cs
- ButtonFlatAdapter.cs
- BaseParagraph.cs
- LineServicesRun.cs
- LocatorManager.cs
- MD5.cs
- StrokeNodeEnumerator.cs
- Visual3DCollection.cs
- HttpChannelHelper.cs
- RangeBaseAutomationPeer.cs
- XmlCharType.cs
- Point3DAnimationBase.cs
- GridViewRowEventArgs.cs
- DataContractSerializerOperationFormatter.cs
- UiaCoreProviderApi.cs
- Renderer.cs
- InvokeProviderWrapper.cs
- NumericUpDownAcceleration.cs
- StringToken.cs
- SapiGrammar.cs
- SizeChangedInfo.cs
- MailAddress.cs
- ReflectionUtil.cs
- ILGenerator.cs
- HeaderUtility.cs
- ListItemViewAttribute.cs
- CompositeCollectionView.cs
- Token.cs
- DBParameter.cs
- ThumbAutomationPeer.cs
- XmlSchemaSimpleContent.cs
- PeerName.cs
- WebControlAdapter.cs
- StreamAsIStream.cs
- HttpConfigurationContext.cs
- MoveSizeWinEventHandler.cs
- ProxyWebPart.cs
- EntityTypeBase.cs
- GlyphManager.cs
- TableItemStyle.cs
- SafeCryptoHandles.cs
- EllipseGeometry.cs
- TemplatedMailWebEventProvider.cs
- LinkedResource.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- PerformanceCounterPermissionEntry.cs
- CompositeKey.cs
- AnchoredBlock.cs
- Help.cs
- HebrewNumber.cs
- ShaderRenderModeValidation.cs
- DeadCharTextComposition.cs
- Quaternion.cs
- DataList.cs
- XmlChildEnumerator.cs
- HttpRequest.cs
- SmiContextFactory.cs
- WindowsGraphicsCacheManager.cs
- ListViewCommandEventArgs.cs
- EdmItemCollection.cs
- WebContext.cs
- MemberMemberBinding.cs
- FieldNameLookup.cs
- ComponentResourceManager.cs
- ValidationEventArgs.cs