Table of Contents

Class EmbeddedResourceReader<TAnySourceAssemblyType>

Namespace
CMS.Tests
Assembly
CMS.Tests.dll

Reads content of an embedded resource which name is provided in the way of relative path within executing assembly (project).

public class EmbeddedResourceReader<TAnySourceAssemblyType> : EmbeddedResourceReader where TAnySourceAssemblyType : class

Type Parameters

TAnySourceAssemblyType
Inheritance
object
EmbeddedResourceReader<TAnySourceAssemblyType>
Inherited Members
Extension Methods

Remarks

Class is meant to be injected into test class and for single class, it should be instantiate only once (as the embedded resources do not change during runtime).

Constructors

EmbeddedResourceReader()

Create new instance of the embedded resource reader for given assembly.

public EmbeddedResourceReader()