Example #1
0
    public ModuleWeaver()
    {
        LogInfo    = s => { };
        LogWarning = s => { };
        formatStringTokenResolver = new FormatStringTokenResolver();

        AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
    }
Example #2
0
    public ModuleWeaver()
    {
        LogInfo = s => { };
        LogWarning = s => { };
        formatStringTokenResolver = new FormatStringTokenResolver();

        AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
    }
Example #3
0
    public void FixtureSetUp()
    {
        var beforeAssemblyPath = Path.GetFullPath(@"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.dll");
        #if (!DEBUG)
        beforeAssemblyPath = beforeAssemblyPath.Replace("Debug", "Release");
        #endif
        moduleDefinition = ModuleDefinition.ReadModule(beforeAssemblyPath);

        resolver = new FormatStringTokenResolver();
    }
Example #4
0
    public void FixtureSetUp()
    {
        beforeAssemblyPath = Path.GetFullPath(Path.Combine(TestContext.CurrentContext.TestDirectory, @"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.dll"));
#if (!DEBUG)
        beforeAssemblyPath = beforeAssemblyPath.Replace("Debug", "Release");
#endif
        moduleDefinition = ModuleDefinition.ReadModule(beforeAssemblyPath);

        resolver = new FormatStringTokenResolver();
    }
Example #5
0
    public void FixtureSetUp()
    {
        beforeAssemblyPath = Path.GetFullPath(Path.Combine(TestContext.CurrentContext.TestDirectory, @"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.dll"));
        #if (!DEBUG)
        beforeAssemblyPath = beforeAssemblyPath.Replace("Debug", "Release");
        #endif
        moduleDefinition = ModuleDefinition.ReadModule(beforeAssemblyPath);

        resolver = new FormatStringTokenResolver();
    }
Example #6
0
    public void FixtureSetUp()
    {
        var beforeAssemblyPath = Path.GetFullPath(@"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.dll");

#if (!DEBUG)
        beforeAssemblyPath = beforeAssemblyPath.Replace("Debug", "Release");
#endif
        moduleDefinition = ModuleDefinition.ReadModule(beforeAssemblyPath);

        resolver = new FormatStringTokenResolver();
    }
Example #7
0
 public ModuleWeaver()
 {
     LogInfo = s => { };
     LogWarning = s => { };
     formatStringTokenResolver = new FormatStringTokenResolver();
 }
 public ModuleWeaver()
 {
     LogInfo    = s => { };
     LogWarning = s => { };
     _formatStringTokenResolver = new FormatStringTokenResolver();
 }