Mono.Cecil.Tests.BaseTestFixture.GetCSharpResourcePath C# (CSharp) Method

GetCSharpResourcePath() public static method

public static GetCSharpResourcePath ( string name, Assembly assembly ) : string
name string
assembly System.Reflection.Assembly
return string
        public static string GetCSharpResourcePath(string name, Assembly assembly)
        {
            return GetResourcePath (Path.Combine ("cs", name), assembly);
        }

Usage Example

Beispiel #1
0
 public override string GetModuleLocation(Assembly assembly)
 {
     return(CompilationService.CompileResource(
                BaseTestFixture.GetCSharpResourcePath(file, assembly)));
 }