File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
+ using System . Diagnostics ;
2
3
3
4
namespace WebApp . Logging
4
5
{
5
- public class FakeLog : ILog
6
+ public class FakeLog : ILog , IDisposable
6
7
{
7
8
private string _message = String . Empty ;
8
9
9
10
public void Append ( string message ) => _message += message ;
11
+
12
+ public void Dispose ( )
13
+ {
14
+ Debug . Print ( $ "{ nameof ( FakeLog ) } .{ nameof ( Dispose ) } ") ;
15
+ }
16
+
10
17
public string Get ( ) => _message ;
11
18
}
12
19
}
Original file line number Diff line number Diff line change 5
5
</PropertyGroup >
6
6
7
7
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
8
- <DocumentationFile >C:\GitHub\J0rgeSerran0\ASP.NET-Core-5-IoC\src\WebApp\ WebApp.xml</DocumentationFile >
8
+ <DocumentationFile >WebApp.xml</DocumentationFile >
9
9
</PropertyGroup >
10
10
11
11
<ItemGroup >
You can’t perform that action at this time.
0 commit comments