ReadAsStringFromEmbeddedResource<T>(string) Method

Summary

Reads the embedded resource identified by this name from the assembly that contains T and returns its content as a string.

Syntax

public static string ReadAsStringFromEmbeddedResource<T>(this string resourceName) where T : notnull

Type Parameters

Name Description
T

Parameters

Name Type Description
resourceName string

Return Value

Type Description
string