コード例 #1
0
 private Configuration([NotNull] DocPublisher resultPublisher)
 {
     DocPublisher = resultPublisher ?? throw new ArgumentNullException(nameof(resultPublisher));
 }
コード例 #2
0
 public Configuration Use([NotNull] DocPublisher docPublisher)
 {
     DocPublisher = docPublisher ?? throw new ArgumentNullException(nameof(docPublisher));
     return(this);
 }
コード例 #3
0
 internal ScenarioBuilder([NotNull] TContext context, [NotNull] DocPublisher docPublisher)
 {
     _context      = context ?? throw new ArgumentNullException(nameof(context));
     _docPublisher = docPublisher ?? throw new ArgumentNullException(nameof(docPublisher));
 }