Dispose pattern 5151 |
||
| C# | Fons Sonnemans | |
| Code snippet for the dispose pattern | ||
propnotify2 4993 |
||
| C# | Daniel Turan | |
| Code snippet for property using SetProperty method (compatible with Prism.MVVM and others) | ||
Notify Property 4892 |
||
| CSharp | mv1986 | |
| Property with notify change (C# 5.0). | ||
Notifiable Property with datacont... 4797 |
||
| CSharp | mv1986 | |
| Property with notify change (C# 5.0) plus datacontract attribute. | ||
struct 3993 |
||
| C# | Fons Sonnemans | |
| Code snippet for a readonly struct with the [StructLayout(Auto)] attribute | ||
rw 3904 |
||
| C# | Zackariya El Khalfaoui | |
| Code snippet for Response.Write | ||
stopwatch 3700 |
||
| C# | Fons Sonnemans | |
| Code snippet for System.Diagnostics.Stopwatch.StartNew, Stop + Log Elapsed | ||
inotify 3674 |
||
| C# | Koen Hendriks | |
| Code snippet for INotifyPropertyChanged Members | ||
eventargs 3625 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
iif 3591 |
||
| C# | Fons Sonnemans | |
| Code snippet for iif (bool ? a : b) statement | ||
propNotify 3516 |
||
| C# | Fons Sonnemans | |
| Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field | ||
Bulk Copy Insert 3514 |
||
| C# | Mike Cofoed | |
| Skeleton for creating bulk insert method | ||
Singleton 3473 |
||
| C# | Simone Chiaretta | |
| Creates a Singleton Class following the discussion on that post of mine: http://blogs.ugidotnet.org/piyo/archive/2005/09/14/Singleton_C_NET.aspx | ||
event 3466 |
||
| C# | Fons Sonnemans | |
| Code snippet for event declaration and method for raising it | ||
ifelse 3414 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
propscreategen 3360 |
||
| C# | Kevin McFarlane | |
| Code snippet for Akka.NET Actor Props Create using generic syntax | ||
ifelse 3335 |
||
| C# | Fons Sonnemans | |
| Code snippet for if else statement | ||
Define a DependencyProperty for S... 3315 |
||
| C# | Fons Sonnemans | |
| Code snippet for a property using DependencyProperty as the backing store and a Handler for the DependencyPropertyChanged event | ||
Define an attached DependencyProp... 3315 |
||
| C# | Fons Sonnemans | |
| Code snippet for an attached property using DependencyProperty as the backing store | ||
ICommand 3228 |
||
| C# | Koen Hendriks | |
| Code snippet for ICommand Members | ||
propnotify 3170 |
||
| C# | 3ByteAdmin | |
Page Navigation 3158 |
||
| C# | Fons Sonnemans | |
| Code snippet for an Xaml Page Navigation using the Common NavigationHelper | ||
forr 3134 |
||
| C# | Microsoft Corporation | |
| Code snippet for reverse 'for' loop | ||
propscreatelam 2976 |
||
| C# | Kevin McFarlane | |
| Code snippet for Akka.NET Actor Props Create using lambda syntax | ||
ReleaseComObject 2954 |
||
| C# | Matt Houser | |
| Code snippet for releasing a COM object. | ||
dw 2915 |
||
| C# | Kevin McFarlane | |
| Code snippet for Debug.WriteLine | ||
propNotify6 2907 |
||
| C# | Reflection IT | |
| Code snippet for property with INotifyPropertyChanged.PropertyChanged notify and backing field. Uses the nameof() c# syntax. | ||
clsDelegateCommand 2874 |
||
| C# | Fons Sonnemans | |
| DelegateCommand class | ||
todo 2815 |
||
| C# | Kevin McFarlane | |
| Code snippet for TODO comment | ||
Kill Excel Object 2794 |
||
| C# | Sameer Sayani | |
| Code snippet for killing a Excel interop object. | ||
event 2753 |
||
| C# | Reflection IT BV | |
| Code snippet for event declaration and method for raising it in C# 6 | ||
SnippetFile1 2662 |
||
| C# | FazelMan | |
da 2645 |
||
| C# | Kevin McFarlane | |
| Code snippet for Debug.Assert | ||
Entity Code First Identity Key 2603 |
||
| C# | JGB | |
| Creates an identity key column for a DbContext Class | ||
recmet 2584 |
||
| C# | Kevin McFarlane | |
| Code snippet for Akka.NET Receive with message handler method | ||
recempty 2508 |
||
| C# | Kevin McFarlane | |
| Code snippet for Akka.NET Receive with empty message handler | ||
getset 2448 |
||
| C# | Pavel ViPPeR Pech | |
| Simply add { get; set; } | ||
arrangeactassert 2385 |
||
| C# | mrshrinkray@gmail.com | |
propNotifySetProperty 2372 |
||
| C# | Reflection IT | |
| Code snippet for property with SetProperty() from most MVVM toolkits | ||
Class Program with Main() 2303 |
||
| C# | Fons Sonnemans | |
| Class Program with Main() | ||
testmethod 2254 |
||
| C# | mrshrinkray@gmail.com | |
propsemi 1474 |
||
| C# | Fons Sonnemans | |
| Code snippet for semi auto property | ||
class StopwatchAndMemoryLogger 912 |
||
| C# | Fons Sonnemans | |
| Log Duration and Memory usage to the Console | ||