Update resource names
This commit is contained in:
parent
3f7c75e299
commit
7e5387e7ab
|
|
@ -11,13 +11,13 @@ namespace Microsoft.AspNet.Razor.Test
|
||||||
{
|
{
|
||||||
public const string ResourceNameFormat = "{0}.TestFiles.{1}";
|
public const string ResourceNameFormat = "{0}.TestFiles.{1}";
|
||||||
|
|
||||||
public string ResourceName { get; set; }
|
public string ResourceName { get; }
|
||||||
public Assembly Assembly { get; set; }
|
public Assembly Assembly { get; set; }
|
||||||
|
|
||||||
public TestFile(string resName, Assembly asm)
|
public TestFile(string resName, Assembly asm)
|
||||||
{
|
{
|
||||||
ResourceName = resName;
|
|
||||||
Assembly = asm;
|
Assembly = asm;
|
||||||
|
ResourceName = Assembly.GetName().Name + "." + resName.Replace('/', '.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static TestFile Create(string localResourceName)
|
public static TestFile Create(string localResourceName)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue