Ejemplo n.º 1
0
 public BookStorage(IEvangelionContext evangelionService,
                    IApostolContext apostolService,
                    IOldTestamentContext oldTestamentService,
                    IPsalterContext psalterService,
                    IOktoikhContext oktoikhContext,
                    ITheotokionAppContext theotokionApp,
                    IEasterContext easterContext,
                    IKatavasiaContext katavasia)
 {
     Evangelion    = evangelionService ?? throw new ArgumentNullException("evangelionService");
     Apostol       = apostolService ?? throw new ArgumentNullException("apostolService");
     OldTestament  = oldTestamentService ?? throw new ArgumentNullException("oldTestamentService");
     Psalter       = psalterService ?? throw new ArgumentNullException("psalterService");
     Oktoikh       = oktoikhContext ?? throw new ArgumentNullException("oktoikhContext");
     TheotokionApp = theotokionApp ?? throw new ArgumentNullException("theotokionApp");
     Easters       = easterContext ?? throw new ArgumentNullException("easterContext");
     Katavasia     = katavasia ?? throw new ArgumentNullException("katavasia");
 }
Ejemplo n.º 2
0
 public TheotokionRule(string name, ITheotokionAppContext context) : base(name)
 {
     theotokionApp = context ?? throw new ArgumentNullException("ITheotokionAppContext");
 }