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
- RuntimeCompatibilityAttribute.cs
- PipelineModuleStepContainer.cs
- Selector.cs
- BitmapCodecInfoInternal.cs
- MemberProjectionIndex.cs
- ReturnValue.cs
- DllNotFoundException.cs
- COM2PropertyPageUITypeConverter.cs
- WindowsSolidBrush.cs
- ReturnEventArgs.cs
- ListViewDataItem.cs
- SQLInt32Storage.cs
- AssemblyInfo.cs
- MDIWindowDialog.cs
- ProvideValueServiceProvider.cs
- Semaphore.cs
- ExpandSegment.cs
- PasswordRecoveryAutoFormat.cs
- HtmlUtf8RawTextWriter.cs
- WebPartMenu.cs
- Item.cs
- RangeBaseAutomationPeer.cs
- DiscoveryReferences.cs
- Vector3DIndependentAnimationStorage.cs
- SizeKeyFrameCollection.cs
- TypeGeneratedEventArgs.cs
- TrackingExtract.cs
- AppDomainAttributes.cs
- ValidationSummaryDesigner.cs
- DomNameTable.cs
- XmlHelper.cs
- ComponentConverter.cs
- ActiveXSite.cs
- AutoResetEvent.cs
- FormsAuthenticationConfiguration.cs
- EndPoint.cs
- SelectorAutomationPeer.cs
- HybridDictionary.cs
- ServiceMoniker.cs
- SystemWebSectionGroup.cs
- RegistrationContext.cs
- SQLInt16.cs
- ProjectionCamera.cs
- IdentitySection.cs
- SpellerError.cs
- ComNativeDescriptor.cs
- DataPagerFieldItem.cs
- CheckBoxField.cs
- OptionalColumn.cs
- Process.cs
- SpeechSeg.cs
- ReachDocumentSequenceSerializerAsync.cs
- CodeDOMUtility.cs
- LinqDataSourceInsertEventArgs.cs
- AdapterDictionary.cs
- OperationInfo.cs
- MapPathBasedVirtualPathProvider.cs
- SrgsDocumentParser.cs
- SiteMapNodeItemEventArgs.cs
- FunctionDetailsReader.cs
- WebPartCloseVerb.cs
- InvokeGenerator.cs
- AttributeData.cs
- ClickablePoint.cs
- LinkTarget.cs
- TextServicesDisplayAttributePropertyRanges.cs
- PointConverter.cs
- XamlClipboardData.cs
- DetailsView.cs
- XPathNavigatorKeyComparer.cs
- ProfessionalColorTable.cs
- HMACSHA512.cs
- SafeEventLogWriteHandle.cs
- SafeNativeMethods.cs
- DnsPermission.cs
- XomlCompilerHelpers.cs
- SystemInfo.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- XpsDigitalSignature.cs
- DynamicActionMessageFilter.cs
- DataControlFieldCell.cs
- LineBreakRecord.cs
- QilPatternVisitor.cs
- DataSourceHelper.cs
- VisualStyleInformation.cs
- CellConstantDomain.cs
- StateElement.cs
- ExtendedTransformFactory.cs
- CodeVariableReferenceExpression.cs
- LoaderAllocator.cs
- DesignDataSource.cs
- CheckBox.cs
- AdjustableArrowCap.cs
- EdgeModeValidation.cs
- ConversionContext.cs
- NodeLabelEditEvent.cs
- WarningException.cs
- TextRangeEditTables.cs
- XmlNavigatorStack.cs
- DynamicValueConverter.cs