コード例 #1
0
 public ApplicationLogService(IAgencyContext agencyContext, ICalendarService calendarService, ICanAddToContext context)
 {
     this.agencyContext = agencyContext;
     this.calendarService = calendarService;
     this.context = context;
 }
コード例 #2
0
ファイル: TestBase.cs プロジェクト: liammclennan/Herald
 protected void EstablishAgencyContext()
 {
     var agency = new AgencyBuilder().Build();
     System.Threading.Thread.CurrentPrincipal = agency;
     agencyContext = new AgencyContext();
 }