コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommentService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="commentDelegate">Injected Comment delegate.</param>
 /// <param name="profileDelegate">Injected Profile delegate.</param>
 /// <param name="cryptoDelegate">Injected Crypto delegate.</param>
 public CommentService(ILogger <CommentService> logger, ICommentDelegate commentDelegate, IUserProfileDelegate profileDelegate, ICryptoDelegate cryptoDelegate)
 {
     this.logger          = logger;
     this.commentDelegate = commentDelegate;
     this.profileDelegate = profileDelegate;
     this.cryptoDelegate  = cryptoDelegate;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CsvExportService"/> class.
 /// </summary>
 /// <param name="noteDelegate">The note delegate to interact with the DB.</param>
 /// <param name="userProfileDelegate">The user profile delegate to interact with the DB.</param>
 /// <param name="commentDelegate">The beta request delegate to interact with the DB.</param>
 public CsvExportService(
     INoteDelegate noteDelegate,
     IUserProfileDelegate userProfileDelegate,
     ICommentDelegate commentDelegate)
 {
     this.noteDelegate        = noteDelegate;
     this.userProfileDelegate = userProfileDelegate;
     this.commentDelegate     = commentDelegate;
 }