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
//I saw this and thought there was a simple way around subbing extension methods | |
//http://blogs.clariusconsulting.net/kzu/how-to-mock-extension-methods/ | |
//My choice of solution was to just refactor the IRepo interface | |
namespace NSubIssueTests | |
{ | |
[TestFixture] | |
public class ExtensionOnInterfaceTests | |
{ |
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
function Select-Folder($message='Select a folder', $path = 0) { | |
$object = New-Object -comObject Shell.Application | |
$folder = $object.BrowseForFolder(0, $message, 0, $path) | |
if ($folder -ne $null) { | |
$folder.self.Path | |
} | |
} | |
function Add-Zip |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Data; | |
using System.Windows.Documents; | |
using System.Windows.Input; | |
using System.Windows.Media; | |
using System.Windows.Media.Imaging; |
NewerOlder