This file contains hidden or 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>Basic GetHashCode Implementation.</Title> | |
<Shortcut>gethash</Shortcut> | |
<Description> | |
Code snippet to create a skeleton implementation | |
of the the GetHashCode pattern for a class. | |
</Description> |
This file contains hidden or 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
public abstract class ItemStatus {} | |
public class ProposedStatus : ItemStatus {} | |
public class ActiveStatus : ItemStatus {} | |
public class ObsoleteStatus : ItemStatus {} | |
public class MyShizzler | |
{ | |
public void DoShizzle(ProposedStatus status) { /* Do some Proposed shizzle, or maybe nothing */ } | |
public void DoShizzle(ActiveStatus status) { /* Do some Activeshizzle */ } | |
public void DoShizzle(ObsoleteStatus status) { /* Do some Obsolete shizzle, or maybe nothing */ } |
This file contains hidden or 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
/* | |
/ File: slickgrid.extensions.js | |
/ Requires: JQuery | |
/ SlickGrid | |
*/ | |
(function ($) { | |
// Register namespace | |
$.extend(true, window, { | |
"Slick": { |
This file contains hidden or 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
using Dibware.StoredProcedureFramework.Helpers.Base; | |
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.Common; | |
using System.Data.SqlClient; | |
namespace Dibware.StoredProcedureFramework.Helpers | |
{ | |
public class StoredProcedureDbCommandCreator |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
namespace Dibware.StoredProcedureFramework.Helpers | |
{ | |
public static class ClrTypeToSqlDbTypeMapper | |
{ | |
#region Constructors |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using System.Text; | |
namespace Gists.Extensions.ListOfTExtentions | |
{ | |
public static class ListOfTExtentions | |
{ | |
/// <summary> |