Skip to content

Instantly share code, notes, and snippets.

Created April 27, 2009 18:16

Revisions

  1. @invalid-email-address Anonymous created this gist Apr 27, 2009.
    24 changes: 24 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    using System.Collections.Generic;

    public class TransformedResult
    {

    public IDataSource dataSource;
    public TransformError errorList;

    public bool HasErrors {
    get { return errorList.HasErrors(); }
    }

    }

    public class TransformError
    {

    public List<string> errorList = new List<string>();

    public bool HasErrors {
    get { return (ErrorList.Count > 0 ? true : false); }
    }

    }