Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CreatingCookieEventArgs.cs
- Ref.cs
- AppDomainManager.cs
- InternalCache.cs
- InputLanguageCollection.cs
- ExitEventArgs.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- BaseTransportHeaders.cs
- XmlArrayItemAttribute.cs
- EventArgs.cs
- EmbossBitmapEffect.cs
- CustomAttributeSerializer.cs
- RelationshipEnd.cs
- RequestCacheValidator.cs
- BindableAttribute.cs
- OdbcCommand.cs
- JoinCqlBlock.cs
- LeafCellTreeNode.cs
- MsmqVerifier.cs
- UserNamePasswordValidator.cs
- WorkflowDebuggerSteppingAttribute.cs
- UnsafeNativeMethods.cs
- SelectorItemAutomationPeer.cs
- serverconfig.cs
- Accessors.cs
- PermissionSet.cs
- XmlMessageFormatter.cs
- CookieProtection.cs
- TTSEvent.cs
- MissingMethodException.cs
- XMLSyntaxException.cs
- HttpHandlerActionCollection.cs
- HttpProfileBase.cs
- IdentitySection.cs
- ResourcesGenerator.cs
- DbProviderFactory.cs
- ActivityExecutorOperation.cs
- Calendar.cs
- DbDataAdapter.cs
- PackUriHelper.cs
- EndpointDesigner.cs
- InstallerTypeAttribute.cs
- TreeNodeStyleCollectionEditor.cs
- ACL.cs
- DataTableCollection.cs
- SizeFConverter.cs
- StateItem.cs
- ParallelActivityDesigner.cs
- RemotingConfigParser.cs
- TabItem.cs
- DataPagerFieldCollection.cs
- PartBasedPackageProperties.cs
- WebPartConnectionsConnectVerb.cs
- DomNameTable.cs
- SqlCacheDependencySection.cs
- ChannelServices.cs
- Model3DGroup.cs
- EntityDataSourceContainerNameItem.cs
- Expr.cs
- MethodCallTranslator.cs
- ToolStripSplitButton.cs
- HeaderedContentControl.cs
- ValidationEventArgs.cs
- KnownTypesHelper.cs
- ExpandCollapseProviderWrapper.cs
- GridViewColumnHeader.cs
- SoapTypeAttribute.cs
- SerializationInfoEnumerator.cs
- SafeHandles.cs
- AdornedElementPlaceholder.cs
- GradientBrush.cs
- WaitForChangedResult.cs
- TextEvent.cs
- SettingsPropertyNotFoundException.cs
- PersonalizationStateInfoCollection.cs
- AutoCompleteStringCollection.cs
- SecurityTokenRequirement.cs
- BaseCollection.cs
- MachineSettingsSection.cs
- GB18030Encoding.cs
- FrameworkElementFactoryMarkupObject.cs
- ClientType.cs
- BindingMemberInfo.cs
- StringOutput.cs
- CardSpaceSelector.cs
- Literal.cs
- MailSettingsSection.cs
- SqlAliaser.cs
- ArglessEventHandlerProxy.cs
- ResourcePermissionBaseEntry.cs
- DockProviderWrapper.cs
- ImageFormat.cs
- DefaultValueAttribute.cs
- ResolveNameEventArgs.cs
- AutomationElementCollection.cs
- AssemblyNameProxy.cs
- Roles.cs
- TextPointer.cs
- SqlUDTStorage.cs
- CanExpandCollapseAllConverter.cs