Skip to Main Content

BTD_Mod_Helper​.Extensions​.AssemblyExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

AssemblyExt Class

Extensions for Assemblies

public static class AssemblyExt

Inheritance System.Object  AssemblyExt

Methods

AssemblyExt.GetEmbeddedResource(this Assembly, string) Method

Gets the bytes for an embedded resource with the given name (found with endsWith), or null if no matches

public static System.IO.Stream GetEmbeddedResource(this System.Reflection.Assembly assembly, string endsWith);

Parameters

assembly System.Reflection.Assembly

endsWith System.String

Returns

System.IO.Stream

AssemblyExt.TryGetEmbeddedResource(this Assembly, string, Stream) Method

Gets the bytes for an embedded resource with the given name (found with endsWith), or null if no matches

public static bool TryGetEmbeddedResource(this System.Reflection.Assembly assembly, string endsWith, out System.IO.Stream stream);

Parameters

assembly System.Reflection.Assembly

endsWith System.String

stream System.IO.Stream

Returns

System.Boolean

To learn how to download BTD Mod Helper and install mods, click here