Skip to content

Instantly share code, notes, and snippets.

View ghyston's full-sized avatar

Ilja Stepanow ghyston

  • Hamburg, Germany; Kaliningrad, Russia.
View GitHub Profile
@ghyston
ghyston / addMock.snippet
Created September 4, 2018 14:45
Snippet for VS2017 to add mocking object properties faster.
<?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>
<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>