Skip to content

Instantly share code, notes, and snippets.

View codereflection's full-sized avatar

Jeff Schumacher codereflection

View GitHub Profile
public IList<object> Import(string filePathAndName)
{
throw new ThisInterfaceMethodSucks("Need to refactor this funk out.");
}
IEnumerable<Message> IFixFileImporter.Import(string filePathAndName)
{
if (!fileSystem.FileExists(filePathAndName))
throw new FileNotFoundException();
------ Test started: Assembly: BidsForKids.Tests.dll ------
AuctionRepository, when requesting an auction by year
» should return the correct auction year (FAIL)
Test 'should return the correct auction year' failed:
System.NotImplementedException: sad pandas can't implement the codez
Data\AuctionRepository.cs(35,0): at BidsForKids.Tests.Data.AuctionRepository.GetBy(Int32 year)
Data\AuctionRepository.cs(19,0): at BidsForKids.Tests.Data.when_requesting_an_auction_by_year.<.ctor>b__1()
at Machine.Specifications.Utility.RandomExtensionMethods.InvokeIfNotNull(Because because)
<?xml version="1.0"?>
<TickerSummaryReportViewModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<TradeDate>2010-06-21T00:00:00</TradeDate>
<Summaries>
<TickerSummaryViewModel>
<Ticker>ADBE</Ticker>
<CrimsQuantity>62000.0000</CrimsQuantity>
<EmsQuantity>724050.0000</EmsQuantity>
<Difference>-662050.0000</Difference>
</TickerSummaryViewModel>
public class TickerSummaryViewModel
{
public string Ticker { get; set; }
public decimal CrimsQuantity { get; set; }
public decimal EmsQuantity { get; set; }
public decimal Difference
{
get { return CrimsQuantity - EmsQuantity; }
set { throw new NotImplementedException("I only have a setter because the XmlSerializer is stupid, please ignore me."); }
using System;
using Castle.MonoRail.Framework;
using System.Xml.Serialization;
namespace Ris.Operations.Oats.Presentation.Attributes
{
[AttributeUsage(AttributeTargets.ReturnValue, AllowMultiple = false, Inherited = false)]
public class XlsReturnBinderAttribute : Attribute, IReturnBinder
{
private IEngineContext engineContext;
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ITEXT SYSTEM "itext.dtd">
<itext>
<paragraph leading="18.0" font="unknown" align="Default">
Please visit my
<anchor leading="18.0" font="Helvetica" size="12.0" fontstyle="normal, underline" red="0" green="0" blue="255" name="top" reference="http://www.lowagie.com/iText/">
<chunk font="Helvetica" size="12.0" fontstyle="normal, underline" red="0" green="0" blue="255">website (external reference)</chunk>
</anchor>
</paragraph>
<paragraph leading="18.0" font="unknown" align="Default">
<itext>
<paragraph>
<chunk style="font-weight:bold;">OMG HAI!!!</chunk>
</paragraph>
<table width="100%" widths="1">
<row>
<cell>I can haz a cell!</cell>
</row>
</table>
<itext>
<paragraph>
<chunk style="font-weight:bold;">OMG HAI!!!</chunk>
</paragraph>
<table width="100%" widths="1">
<row>
<cell>I can haz a cell!</cell>
</row>
</table>
<UserSettings>
<ApplicationIdentity version="10.0"/>
<ToolsOptions>
<ToolsOptionsCategory name="Environment" RegisteredName="Environment"/>
</ToolsOptions>
<Category name="Database Tools" RegisteredName="Database Tools"/>
<Category name="Environment_Group" RegisteredName="Environment_Group">
<Category name="Environment_FontsAndColors" Category="{1EDA5DD4-927A-43a7-810E-7FD247D0DA1D}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_FontsAndColors" PackageName="Visual Studio Environment Package">
<PropertyValue name="Version">2</PropertyValue>
<FontsAndColors Version="2.0">
public class BusinessCardInfo
{
protected int businessCardId;
protected int customerID;
protected int businessCardDesignID;
protected string bCardHtmlBlock;
protected string companyName;
protected string companyMessage;
protected string fullName;
protected string jobTitle;