Created
April 2, 2020 10:44
-
-
Save lkurzyniec/aabb06f1b891566f27eafae8687ddf61 to your computer and use it in GitHub Desktop.
CodeSnippet for It.Is()
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
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>It.Is()</Title> | |
<Shortcut>it_is</Shortcut> | |
<Description>Code snippet for It.Is()</Description> | |
<Author>Łukasz Kurzyniec</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Imports> | |
<Import> | |
<Namespace>Moq</Namespace> | |
</Import> | |
</Imports> | |
<Declarations> | |
<Literal> | |
<ID>type</ID> | |
<Default>CancellationToken</Default> | |
<ToolTip>Type to be applied</ToolTip> | |
</Literal> | |
</Declarations> | |
<Code Language="csharp"> | |
<![CDATA[It.Is<$type$>(v => $end$)]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place it in
C:\Users\[username]\Documents\Visual Studio 2019\Code Snippets\Visual C#\My Code Snippets