Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / ManifestResourceInfo.cs / 1305376 / 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; public 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. [Serializable] [Flags] [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; public 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. [Serializable] [Flags] [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
- PartitionerQueryOperator.cs
- HtmlTableCellCollection.cs
- InvalidOperationException.cs
- WebPartRestoreVerb.cs
- DrawingAttributesDefaultValueFactory.cs
- InvalidAsynchronousStateException.cs
- FormsIdentity.cs
- KeyGestureValueSerializer.cs
- ValidationError.cs
- CodeTypeDelegate.cs
- GlyphRunDrawing.cs
- ListBindableAttribute.cs
- HttpHandlerAction.cs
- PageCodeDomTreeGenerator.cs
- UnderstoodHeaders.cs
- QilName.cs
- ServiceContractGenerationContext.cs
- CachedRequestParams.cs
- EditorPartCollection.cs
- ClientSideQueueItem.cs
- EndPoint.cs
- ProviderConnectionPoint.cs
- SamlAction.cs
- ImageListStreamer.cs
- CodeStatement.cs
- OrthographicCamera.cs
- ArrayTypeMismatchException.cs
- StylesEditorDialog.cs
- InputBuffer.cs
- GeneratedCodeAttribute.cs
- Visitors.cs
- TypeElement.cs
- TdsParserStaticMethods.cs
- RegisteredScript.cs
- ActivityExecutor.cs
- PipeSecurity.cs
- externdll.cs
- ComIntegrationManifestGenerator.cs
- InspectionWorker.cs
- TableRow.cs
- XmlSerializerImportOptions.cs
- HttpListenerResponse.cs
- CollectionBase.cs
- ComponentDispatcher.cs
- GeometryCollection.cs
- Parameter.cs
- HtmlDocument.cs
- EncoderExceptionFallback.cs
- QilLoop.cs
- DataSourceCache.cs
- XslAst.cs
- isolationinterop.cs
- FormsAuthentication.cs
- ScriptingRoleServiceSection.cs
- TCPClient.cs
- DnsPermission.cs
- IIS7WorkerRequest.cs
- XmlTextAttribute.cs
- SynchronizationHandlesCodeDomSerializer.cs
- TableCellCollection.cs
- SecurityRuntime.cs
- ThemeDirectoryCompiler.cs
- ObjectHandle.cs
- SqlDependencyListener.cs
- ADMembershipUser.cs
- TextElement.cs
- FrameworkElement.cs
- IgnoreFlushAndCloseStream.cs
- CacheForPrimitiveTypes.cs
- OutOfMemoryException.cs
- StrongNameUtility.cs
- DecryptRequest.cs
- BigIntegerStorage.cs
- ScrollChrome.cs
- StylusEditingBehavior.cs
- PasswordBoxAutomationPeer.cs
- XmlHierarchicalDataSourceView.cs
- PersonalizationProviderHelper.cs
- OdbcCommandBuilder.cs
- ItemDragEvent.cs
- IsolatedStorageFile.cs
- XmlSchemaSimpleType.cs
- NativeMethods.cs
- ClientBuildManagerCallback.cs
- ECDsaCng.cs
- LeftCellWrapper.cs
- PrintDialog.cs
- WebPartDescriptionCollection.cs
- Padding.cs
- SchemaNotation.cs
- ModelTypeConverter.cs
- PreservationFileWriter.cs
- RegexCompiler.cs
- _UncName.cs
- PriorityChain.cs
- __Filters.cs
- StoreAnnotationsMap.cs
- AppDomainAttributes.cs
- UnsafeNativeMethods.cs
- Point3DAnimationUsingKeyFrames.cs