Skip to content

Commit

Permalink
移除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimizuShiori committed Apr 5, 2020
1 parent e9d0983 commit fcbd252
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions src/Reface.AppStarter.Tests/RegisteAsFunTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public void Test()
TestAppModule testAppModule = new TestAppModule();
var app = appSetup.Start(testAppModule);
var container = app.GetAppContainer<IComponentContainer>();

using (var scope = container.BeginScope("test"))
{
var t = scope.CreateComponent<IService>();
Expand Down
6 changes: 0 additions & 6 deletions src/Reface.AppStarter.Tests/TestAppModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ namespace Reface.AppStarter.Tests
[CL1AppModule]
public class TestAppModule : AppModule
{
public override void OnUsing(AppSetup setup, IAppModule targetModule)
{
//var container = setup.GetAppContainerBuilder<TestContainerBuilder>();
//container.DoNothing();
}

[ComponentCreator]
public IServiceRegistedByAppModule GetServiceRegistedByAppModule()
{
Expand Down

0 comments on commit fcbd252

Please sign in to comment.