MetalamaAPI documentationAdvanced APIMetalama.​CompilerManaged­ResourceManaged­Resource
Open sandboxFocus

ManagedResource Constructor

ManagedResource(String, Byte[], Boolean)

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

Declaration
public ManagedResource(string name, byte[] data, bool includeInRefAssembly = false)
Parameters
Type Name Description
String name

Name of the manage resource.

Byte[] data

The managed resource data.

Boolean includeInRefAssembly

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