View StubAccountRepository.cs
This file contains 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using RoboBank.Account.Application.Ports; | |
using System.Text; | |
namespace RoboBank.Account.Application.Adapters.NetStandard | |
{ | |
public class StubAccountRepository : IAccountRepository |
View Program.cs
This file contains 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 ClassLibraryNetStandard; | |
using Newtonsoft.Json; | |
using System; | |
namespace ConsoleAppNetFramework | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
View ConsoleAppNetCore.csproj
This file contains 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
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp1.0</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<Compile Include="**\*.cs" /> | |
<EmbeddedResource Include="**\*.resx" /> | |
</ItemGroup> | |
<ItemGroup> |
View Test.cs
This file contains 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
namespace ClassLibraryNetStandard | |
{ | |
public class Test | |
{ | |
public string SomeProperty { get; set; } | |
public string SomeOtherProperty { get; set; } | |
} | |
} |