MetalamaAPI documentationAdvanced APIMetalama.​CompilerManaged­Resource
Open sandboxFocus

ManagedResource Class

Represents a managed resource.

Inheritance
System.Object
ManagedResource
Namespace: Metalama.Compiler
Assembly: Metalama.Compiler.Interface.dll
Syntax
public sealed class ManagedResource : Object

Constructors

Name Description
ManagedResource(String, Byte[], Boolean)

Initializes a new instance of ManagedResource that represents a new public resource embedded in the module.

Properties

Name Description
DataProvider

Gets a delegate returning the content of the resource.

IncludeInRefAssembly

Gets a value indicating whether the resource should be included in reference assemblies.

IsEmbedded

Gets a value indicating whether the resource is embedded in the module.

IsPublic

Gets a value indicating whether the resource is public.

Name

Gets the resource name.

Resource

Gets the underlying Microsoft.CodeAnalysis.ResourceDescription.