Open sandboxFocus

Class ManagedResource

Represents a managed resource.

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

Constructors

Name Description
ManagedResource(string, byte[], bool)

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 ResourceDescription.