You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
678 B

namespace IoT.Resources
{
public class Resource
{
static Resource()
{
#if DEBUG
foreach (var res in typeof(Resource).Assembly.GetManifestResourceNames())
{
System.Diagnostics.Debug.WriteLine("found resource: " + res);
}
#endif
}
public static System.Reflection.Assembly Assembly
{
get
{
return typeof(Resource).Assembly;
}
}
public static string WebFolder
{
get
{
return $"{typeof(Resource).Assembly.GetName().Name}.wwwroot";
}
}
}
}