Summary
Reads the embedded resource identified by this name from the assembly that contains T and returns its content as a string.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Extensions - Containing Type
- Read
Embedded Resource Extensions
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 |