Created
December 17, 2019 10:35
-
-
Save takahirohonda/c2e2b75c4680f8ccc5cf29b28c7af5bd to your computer and use it in GitHub Desktop.
ServiceCollectionExtensionTests - MockClasses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ApplicationCore.Extensions; | |
namespace UnitTests.ApplicationCore.Extensions | |
{ | |
[Service(typeof(IMockClassForExtensionsTestsA), Lifetime.Transient)] | |
public class MockClassForExtensionsTestsA : IMockClassForExtensionsTestsA | |
{ } | |
public interface IMockClassForExtensionsTestsA | |
{ } | |
[Service(typeof(IMockClassForExtensionsTestsB), Lifetime.Scoped)] | |
public class MockClassForExtensionsTestsB : IMockClassForExtensionsTestsB | |
{ } | |
public interface IMockClassForExtensionsTestsB | |
{ } | |
[Service(typeof(IMockClassForExtensionsTestsC), Lifetime.Transient)] | |
public class MockClassForExtensionsTestsC : IMockClassForExtensionsTestsC | |
{ } | |
public interface IMockClassForExtensionsTestsC | |
{ } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment