Ejemplo n.º 1
0
        void CreateHostContext()
        {
            var testableHost = new TestableTextTemplatingHost("Test");

            hostContext          = testableHost.HostContext;
            fakeAssemblyResolver = testableHost.FakeTextTemplatingAssemblyResolver;
        }
Ejemplo n.º 2
0
		void CreateHost(string applicationBase)
		{
			host = new TestableTextTemplatingHost(applicationBase);
			textTemplatingAppDomainFactory = host.FakeTextTemplatingAppDomainFactory;
			textTemplatingAppDomain = textTemplatingAppDomainFactory.FakeTextTemplatingAppDomain;
			assemblyResolver = host.FakeTextTemplatingAssemblyResolver;
		}
Ejemplo n.º 3
0
		void CreateHost(string applicationBase)
		{
			host = new TestableTextTemplatingHost(applicationBase);
			fakeTextTemplatingAppDomainFactory = host.FakeTextTemplatingAppDomainFactory;
			fakeTextTemplatingAppDomain = fakeTextTemplatingAppDomainFactory.FakeTextTemplatingAppDomain;
			fakeAssemblyResolver = host.FakeTextTemplatingAssemblyResolver;
			fakeTextTemplatingVariables = host.FakeTextTemplatingVariables;
			fakeServiceProvider = host.FakeServiceProvider;
			hostContext = host.HostContext;
		}
 void CreateHostContext()
 {
     var testableHost = new TestableTextTemplatingHost("Test");
     hostContext = testableHost.HostContext;
     fakeAssemblyResolver = testableHost.FakeTextTemplatingAssemblyResolver;
 }