Skip to content

Latest commit

 

History

History
172 lines (168 loc) · 8.4 KB

README.md

File metadata and controls

172 lines (168 loc) · 8.4 KB

Snippets

Space Shortcut Code Imported namespace Filename
AutoMapper am AutoMapper custom mapping - am.snippet
ami AutoMapper Ignore - ami.snippet
Console cwl Console.Write(); System Console.Write.snippet
crl Console.Read(); System Console.Read.snippet
cr Console.ReadLine(); System Console.ReadLine.snippet
dwl Debug.Write(); System.Diagnostics Debug.Write.snippet
dw Debug.WriteLine(); System.Diagnostics Debug.WriteLine.snippet
EntityFramework efprop EF property configuration - efprop.snippet
efstr EF string configuration - efstr.snippet
efone EF reference configuration - efone.snippet
Properties sj string.Join() - string.Join.snippet
sprop static auto property - sprop.snippet
propi init auto property - propi.snippet
rprop required auto property - rprop.snippet
Types itp int.TryParse() - int.TryParse.snippet
dtp double.TryParse() - double.TryParse.snippet
tp type.TryParse() - type.TryParse.snippet
parse type.Parse() - type.Parse.snippet
sctor static ClassName {} - sctor.snippet
typepat Type pattern - typepat.snippet
Wpf dp DependencyProperty... System.Windows dp.snippet
inpc INPC implementation System.Runtime.CompilerServices inpc.snippet

How to use:

  1. Download files with snippets from this repository
  2. Open Visual Studio
  3. Find menu "Tools" and click to "Code Snippets Manager..." or push keys Ctrl+K + Ctrl+B
  4. In Code Snippets Manager push button "Import..." (or push button "Add")
  5. Select downloaded files
  6. Click "Ok"
  7. Try to use the code snippets using the hotkeys shown in the table above
  8. Enjoy!