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
- SrgsDocument.cs
- SkipStoryboardToFill.cs
- AssemblyResourceLoader.cs
- ConfigurationSettings.cs
- ContextMarshalException.cs
- SettingsProperty.cs
- PrivilegeNotHeldException.cs
- BookmarkEventArgs.cs
- DrawingContextFlattener.cs
- COAUTHIDENTITY.cs
- DataBindingList.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ClientCultureInfo.cs
- Command.cs
- SecurityHeaderElementInferenceEngine.cs
- ValueChangedEventManager.cs
- LicFileLicenseProvider.cs
- connectionpool.cs
- ClientRoleProvider.cs
- MeasureData.cs
- URLMembershipCondition.cs
- EpmContentDeSerializerBase.cs
- SmtpCommands.cs
- SamlSecurityTokenAuthenticator.cs
- DummyDataSource.cs
- HttpWebResponse.cs
- WebDescriptionAttribute.cs
- Mutex.cs
- securestring.cs
- Publisher.cs
- XDRSchema.cs
- InvalidDataException.cs
- SchemaCollectionCompiler.cs
- WebSysDisplayNameAttribute.cs
- WizardStepCollectionEditor.cs
- MailMessageEventArgs.cs
- PageEventArgs.cs
- XmlAnyAttributeAttribute.cs
- TextTreeRootNode.cs
- ServiceOperationListItem.cs
- ConstraintConverter.cs
- PersonalizableTypeEntry.cs
- OracleSqlParser.cs
- SmiEventStream.cs
- IsolatedStorageFile.cs
- DataSysAttribute.cs
- ComponentRenameEvent.cs
- InternalControlCollection.cs
- EventMappingSettings.cs
- uribuilder.cs
- StrictAndMessageFilter.cs
- ProfessionalColorTable.cs
- ICollection.cs
- ListBoxItemWrapperAutomationPeer.cs
- PingReply.cs
- Freezable.cs
- Win32SafeHandles.cs
- RequestCachePolicy.cs
- TargetException.cs
- AttributeProviderAttribute.cs
- ObjectItemLoadingSessionData.cs
- SqlUserDefinedTypeAttribute.cs
- OleDbPermission.cs
- PieceDirectory.cs
- ValidationError.cs
- SoundPlayerAction.cs
- Monitor.cs
- Transform3D.cs
- PagesSection.cs
- XmlHierarchicalEnumerable.cs
- AutomationPropertyInfo.cs
- CryptoConfig.cs
- XmlQualifiedNameTest.cs
- DiffuseMaterial.cs
- NullableConverter.cs
- SecureConversationDriver.cs
- WCFServiceClientProxyGenerator.cs
- SqlLiftWhereClauses.cs
- StylusPlugInCollection.cs
- WebPartCatalogAddVerb.cs
- WebPartDisplayModeCollection.cs
- Point3DAnimationBase.cs
- SmiGettersStream.cs
- CustomAttribute.cs
- SqlGenerator.cs
- Point3DCollection.cs
- Stacktrace.cs
- CalendarDateChangedEventArgs.cs
- CodeDelegateCreateExpression.cs
- DescriptionAttribute.cs
- ClipboardProcessor.cs
- DoubleAnimation.cs
- HtmlLabelAdapter.cs
- DrawListViewItemEventArgs.cs
- List.cs
- NumberFormatInfo.cs
- CodeDomDecompiler.cs
- XmlSchemaSequence.cs
- XmlMapping.cs
- TypeConverterHelper.cs