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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BooleanKeyFrameCollection.cs
- SliderAutomationPeer.cs
- DeclaredTypeValidatorAttribute.cs
- Positioning.cs
- HandleRef.cs
- BehaviorEditorPart.cs
- Stroke.cs
- TraceHwndHost.cs
- RuleElement.cs
- NoneExcludedImageIndexConverter.cs
- UserPersonalizationStateInfo.cs
- Subtree.cs
- WindowsListViewItemCheckBox.cs
- NodeFunctions.cs
- ReferentialConstraint.cs
- SQLDecimalStorage.cs
- SizeFConverter.cs
- SoapProcessingBehavior.cs
- ScrollProperties.cs
- FormattedText.cs
- DecimalStorage.cs
- XamlSerializerUtil.cs
- BasicBrowserDialog.cs
- HttpHandlerAction.cs
- BrowserCapabilitiesFactory35.cs
- PropertyTabChangedEvent.cs
- SourceLocation.cs
- CqlQuery.cs
- DefaultTraceListener.cs
- ServiceOperationInvoker.cs
- ConfigurationSettings.cs
- CollectionViewSource.cs
- BooleanFunctions.cs
- Keywords.cs
- WsdlBuildProvider.cs
- ProtocolException.cs
- PropertyRecord.cs
- ScaleTransform3D.cs
- RemotingException.cs
- DesignerWithHeader.cs
- SqlHelper.cs
- NativeCompoundFileAPIs.cs
- HyperLinkDataBindingHandler.cs
- DataGridItemCollection.cs
- SortQuery.cs
- DecoderBestFitFallback.cs
- TraceSwitch.cs
- ObjectView.cs
- SiteOfOriginContainer.cs
- CultureTable.cs
- IDictionary.cs
- ISAPIRuntime.cs
- XmlWriterTraceListener.cs
- RuntimeHelpers.cs
- BehaviorEditorPart.cs
- errorpatternmatcher.cs
- XpsSerializerWriter.cs
- AdapterDictionary.cs
- MemberMaps.cs
- ThreadExceptionEvent.cs
- UIElement.cs
- ModuleBuilderData.cs
- BitmapCodecInfoInternal.cs
- AuthenticationModuleElementCollection.cs
- Grid.cs
- ConfigXmlWhitespace.cs
- InstanceStore.cs
- CompilerError.cs
- DataKey.cs
- CategoryNameCollection.cs
- BasicExpandProvider.cs
- UriSection.cs
- TextParagraph.cs
- CollectionTypeElement.cs
- CustomExpression.cs
- SqlServices.cs
- ReferenceService.cs
- Rect3DValueSerializer.cs
- SrgsText.cs
- GetPageCompletedEventArgs.cs
- SolidColorBrush.cs
- UTF8Encoding.cs
- XmlCharCheckingReader.cs
- IApplicationTrustManager.cs
- COM2ExtendedUITypeEditor.cs
- CommandDesigner.cs
- Matrix3DValueSerializer.cs
- RequestNavigateEventArgs.cs
- LinqDataSourceHelper.cs
- DelegateTypeInfo.cs
- StrokeCollection.cs
- EdmConstants.cs
- QuestionEventArgs.cs
- _IPv6Address.cs
- CalendarDayButton.cs
- ListBoxItemAutomationPeer.cs
- GradientSpreadMethodValidation.cs
- DataControlFieldHeaderCell.cs
- SetStoryboardSpeedRatio.cs
- LinqDataSourceValidationException.cs