Skip to content

Instantly share code, notes, and snippets.

Avatar

Ilja Stepanow ghyston

  • Hamburg, Germany; Kaliningrad, Russia.
View GitHub Profile
@ghyston
ghyston / addMock.snippet
Created Sep 4, 2018
Snippet for VS2017 to add mocking object properties faster.
View addMock.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets
xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Add Mock</Title>
<Author>Hyston</Author>
<Description>Add mock property.</Description>
<Shortcut>mock</Shortcut>
</Header>
View PhotosMover.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="2.0.0" />
</ItemGroup>
</Project>