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.

public ManagedResource(string name, byte[] data, bool includeInRefAssembly = false)
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.