CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: Scott Muc
# Fixtures is currently a hard coded path
Get-ChildItem .\Fixtures | % { . Fixtures\$_ }
 
# The more verbose way
#Get-Item -Path “function:Test-*“ | ForEach-Object { Write-Host -ForegroundColor DarkCyan $_.Name; Invoke-Expression $_ }
ls function:test-* |% { Write-Host -fore DarkCyan $_.Name; iex $_}
by Scott Muc   May 04, 2010 @ 8:08pm
Tags:
110 Views
no comments
 
C#
public class EnableArtistTrackActionSpecs
{
    private readonly Playlist playlistFake;
    private readonly ArtistTrack trackToEnable;
 
    public EnableArtistTrackActionSpecs()
    {
        playlistFake = new Playlist();
        trackToEnable = MockRepository.GenerateStub<ArtistTrack>();
    }
by Scott Muc   October 29, 2009 @ 3:40pm
222 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate