Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ScaleTransform.cs
- HttpContext.cs
- TextEditor.cs
- EntityDataSourceStatementEditor.cs
- TemplateBuilder.cs
- NumericUpDownAccelerationCollection.cs
- ProfileGroupSettings.cs
- OperationPerformanceCounters.cs
- LabelDesigner.cs
- ModuleBuilder.cs
- DateBoldEvent.cs
- ConfigurationSectionGroup.cs
- ProxyHelper.cs
- xmlfixedPageInfo.cs
- XmlEnumAttribute.cs
- EDesignUtil.cs
- SortedDictionary.cs
- SmiRecordBuffer.cs
- NamedElement.cs
- MetadataPropertyvalue.cs
- WorkflowViewElement.cs
- RawStylusInputCustomDataList.cs
- RuleSet.cs
- mongolianshape.cs
- RegexWorker.cs
- FixedLineResult.cs
- AsymmetricSignatureDeformatter.cs
- DecoderFallbackWithFailureFlag.cs
- TextViewBase.cs
- TableLayoutPanel.cs
- IChannel.cs
- QueryParameter.cs
- Membership.cs
- DisplayNameAttribute.cs
- DbProviderFactoriesConfigurationHandler.cs
- IntSecurity.cs
- ListViewSelectEventArgs.cs
- Int32CAMarshaler.cs
- SmtpSection.cs
- XmlTextEncoder.cs
- BamlRecords.cs
- TextRenderer.cs
- XmlDictionaryString.cs
- MemberExpression.cs
- ViewEventArgs.cs
- XmlTextReader.cs
- ErrorHandler.cs
- DigitShape.cs
- StandardRuntimeEnumValidatorAttribute.cs
- BasicHttpMessageSecurityElement.cs
- WebFormDesignerActionService.cs
- OdbcConnectionHandle.cs
- NotifyCollectionChangedEventArgs.cs
- EdmType.cs
- EntityObject.cs
- EncryptionUtility.cs
- QueryOperationResponseOfT.cs
- UshortList2.cs
- ExpandableObjectConverter.cs
- BamlRecordWriter.cs
- TextTabProperties.cs
- SoapTypeAttribute.cs
- TreeView.cs
- PolyLineSegmentFigureLogic.cs
- PersonalizationEntry.cs
- AspProxy.cs
- SevenBitStream.cs
- Perspective.cs
- XmlValidatingReaderImpl.cs
- Serializer.cs
- FunctionDetailsReader.cs
- coordinatorfactory.cs
- StaticSiteMapProvider.cs
- PaintValueEventArgs.cs
- DataTableTypeConverter.cs
- NavigationProgressEventArgs.cs
- ListView.cs
- DataGridViewCheckBoxColumn.cs
- DaylightTime.cs
- UInt64Storage.cs
- LocalizableResourceBuilder.cs
- SecureEnvironment.cs
- TransformGroup.cs
- StrokeIntersection.cs
- CompoundFileStreamReference.cs
- CharacterMetrics.cs
- FormView.cs
- mediapermission.cs
- FixedSOMLineRanges.cs
- DocumentCollection.cs
- PointAnimationClockResource.cs
- DataGridItemCollection.cs
- ParameterInfo.cs
- RemotingConfigParser.cs
- XmlSchemaElement.cs
- VariableAction.cs
- UniqueIdentifierService.cs
- KeyBinding.cs
- PartitionedDataSource.cs
- UpdateCommandGenerator.cs