// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; using System.Collections.Generic; namespace DI.Common { public class Data { public int F1 { get; set; } public string F2 { get; set; } } public interface IDataAccessLayer { Data GetOneRecord(int f1); IList GetAllRecords(); } public interface IPresenter { void Start(); void One(Data o); void Finish(); } public interface IApplication { void Run(); } }