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
- StreamWriter.cs
- BitHelper.cs
- ScaleTransform3D.cs
- ApplicationInfo.cs
- XmlRawWriterWrapper.cs
- StringResourceManager.cs
- Point3DAnimation.cs
- Console.cs
- WmfPlaceableFileHeader.cs
- OleDbException.cs
- TextParaLineResult.cs
- ActivityMarkupSerializer.cs
- SystemIPv4InterfaceProperties.cs
- LinkLabel.cs
- TransformationRules.cs
- WebBrowser.cs
- TrackingServices.cs
- CompatibleIComparer.cs
- PageCodeDomTreeGenerator.cs
- SQLDoubleStorage.cs
- ProviderConnectionPoint.cs
- FormViewPagerRow.cs
- DebugHandleTracker.cs
- OleDbError.cs
- SchemaConstraints.cs
- TypeListConverter.cs
- InternalConfigRoot.cs
- ReferentialConstraint.cs
- DragStartedEventArgs.cs
- RawAppCommandInputReport.cs
- WebDescriptionAttribute.cs
- AutoResizedEvent.cs
- LOSFormatter.cs
- sqlcontext.cs
- InputMethodStateChangeEventArgs.cs
- TrustManager.cs
- ActiveDocumentEvent.cs
- TypedReference.cs
- ModelFunction.cs
- ApplicationProxyInternal.cs
- HttpModuleActionCollection.cs
- SqlServices.cs
- PageTheme.cs
- SecurityRuntime.cs
- AssemblyName.cs
- InvokeGenerator.cs
- Helpers.cs
- MatchingStyle.cs
- DataGridColumn.cs
- ColumnReorderedEventArgs.cs
- PageClientProxyGenerator.cs
- IArgumentProvider.cs
- DecoderExceptionFallback.cs
- DataStreams.cs
- ClientCultureInfo.cs
- IdentityNotMappedException.cs
- FigureHelper.cs
- ConfigXmlAttribute.cs
- MatchingStyle.cs
- HttpCookie.cs
- TemplateKey.cs
- DispatchOperationRuntime.cs
- OAVariantLib.cs
- SchemaHelper.cs
- AssociativeAggregationOperator.cs
- UpdatePanelTrigger.cs
- ContainerParagraph.cs
- GenericParameterDataContract.cs
- RotationValidation.cs
- MenuTracker.cs
- XXXOnTypeBuilderInstantiation.cs
- SessionParameter.cs
- DCSafeHandle.cs
- CodeTryCatchFinallyStatement.cs
- VoiceChangeEventArgs.cs
- SecurityPermission.cs
- Helpers.cs
- PagePropertiesChangingEventArgs.cs
- DiagnosticSection.cs
- Focus.cs
- WorkflowOperationAsyncResult.cs
- DaylightTime.cs
- BuildProviderUtils.cs
- AppearanceEditorPart.cs
- SharedStatics.cs
- DataGridItem.cs
- CheckBox.cs
- BitStream.cs
- SafePointer.cs
- MsmqProcessProtocolHandler.cs
- ListViewItem.cs
- unitconverter.cs
- SqlMethodTransformer.cs
- WmpBitmapDecoder.cs
- FontStretches.cs
- DataGridViewColumnStateChangedEventArgs.cs
- diagnosticsswitches.cs
- Stack.cs
- StaticResourceExtension.cs
- Button.cs