Skip to content

Instantly share code, notes, and snippets.

@atifaziz
Forked from anonymous/gist:102630
Created April 27, 2009 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atifaziz/102643 to your computer and use it in GitHub Desktop.
Save atifaziz/102643 to your computer and use it in GitHub Desktop.
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); }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment