Permalink
Browse files

getting things compiling with references straightened out

  • Loading branch information...
1 parent 6d52f27 commit f19cc1e0487f5affad42b8c1d3569c486479e774 @chad committed Feb 11, 2010
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,46 +1,46 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace resque
-{
- namespace Failure
- {
- class Failure
- {
- private Base backend;
-
- //TODO: Not sure if this is right at all:
- //The Ruby version passes in a hash and passes named fields to the base constructor
- //Does this have to be persisted somehow?
- public Failure(Base in_base)
- {
- backend = in_base;
- }
-
- public int count()
- {
- return backend.count();
- }
-
- //TODO: Make a version of this method for paginating results
- public List<Base> all()
- {
- return backend.all();
- }
-
- public string url()
- {
- return backend.url();
- }
-
- public void clear()
- {
- backend.clear();
- }
-
-
- }
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace resque
+{
+ namespace Failure
+ {
+ class Failure
+ {
+ private Base backend;
+
+ //TODO: Not sure if this is right at all:
+ //The Ruby version passes in a hash and passes named fields to the base constructor
+ //Does this have to be persisted somehow?
+ public Failure(Base in_base)
+ {
+ backend = in_base;
+ }
+
+ public int count()
+ {
+ return backend.count();
+ }
+
+ //TODO: Make a version of this method for paginating results
+ public List<Base> all()
+ {
+ return backend.all();
+ }
+
+ public string url()
+ {
+ return backend.url();
+ }
+
+ public void clear()
+ {
+ backend.clear();
+ }
+
+
+ }
+ }
+}
@@ -1,50 +1,50 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace resque
-{
- namespace Failure
- {
- public class Base
- {
- public Exception exception { get; set; }
- public Worker worker { get; set; }
- public string queue { get; set; }
- public object payload { get; set; }
-
- public Base(Exception in_exc, Worker in_wor, String in_queue, Object in_payload)
- {
- exception = in_exc;
- worker = in_wor;
- queue = in_queue;
- payload = in_payload;
- }
-
- //Declaring these as abstract to force subclass to
- //implement them
- public abstract void save();
-
- public virtual int count()
- {
- return 0;
- }
-
- public virtual List<Base> all()
- {
- return new List<Base>();
- }
-
- public abstract string url();
- public abstract void clear();
-
- public void log(string message)
- {
- //TODO: Implement worker log function
- //worker.log(message)
- }
-
- }
-
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace resque
+{
+ namespace Failure
+ {
+ public abstract class Base
+ {
+ public Exception exception { get; set; }
+ public Worker worker { get; set; }
+ public string queue { get; set; }
+ public object payload { get; set; }
+
+ public Base(Exception exception, Worker worker, String queue, Object payload)
+ {
+ this.exception = exception;
+ this.worker = worker;
+ this.queue = queue;
+ this.payload = payload;
+ }
+
+ //Declaring these as abstract to force subclass to
+ //implement them
+ public abstract void save();
+
+ public virtual int count()
+ {
+ return 0;
+ }
+
+ public virtual List<Base> all()
+ {
+ return new List<Base>();
+ }
+
+ public abstract string url();
+ public abstract void clear();
+
+ public void log(string message)
+ {
+ //TODO: Implement worker log function
+ //worker.log(message)
+ }
+
+ }
+
+ }
+}
@@ -1,68 +1,68 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{27BE6022-29AF-4958-888A-4CF25B39ABC1}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>resque</RootNamespace>
- <AssemblyName>resque-sharp</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Newtonsoft.Json.Net20, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\Libraries\net\JSON.net\Bin\DotNet20\Newtonsoft.Json.Net20.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Failure.cs" />
- <Compile Include="Failure\Base.cs" />
- <Compile Include="Job.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="redis-sharp.cs" />
- <Compile Include="Resque.cs" />
- <Compile Include="Worker.cs" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{27BE6022-29AF-4958-888A-4CF25B39ABC1}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>resque</RootNamespace>
+ <AssemblyName>resque-sharp</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Newtonsoft.Json.Net20, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\ext\newtonsoft-json\Newtonsoft.Json.Net20.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Failure.cs" />
+ <Compile Include="Failure\Base.cs" />
+ <Compile Include="Job.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="redis-sharp.cs" />
+ <Compile Include="Resque.cs" />
+ <Compile Include="Worker.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
- -->
+ -->
</Project>
Oops, something went wrong.

0 comments on commit f19cc1e

Please sign in to comment.