/// <summary> /// Initializes a new instance of the <see cref="ModerationService"/> class. /// </summary> /// <param name="database">The database context.</param> /// <param name="servers">The server service.</param> public ModerationService ( ModerationDatabaseContext database, ServerService servers ) { _database = database; _servers = servers; }
/// <summary> /// Initializes a new instance of the <see cref="ModerationService"/> class. /// </summary> /// <param name="database">The database context.</param> /// <param name="servers">The server service.</param> public ModerationService ( [NotNull] ModerationDatabaseContext database, [NotNull] ServerService servers ) { _database = database; _servers = servers; }
/// <summary> /// Initializes a new instance of the <see cref="NoteService"/> class. /// </summary> /// <param name="database">The database context.</param> /// <param name="servers">The server service.</param> /// <param name="users">The user service.</param> public NoteService ( ModerationDatabaseContext database, ServerService servers, UserService users ) { _database = database; _servers = servers; _users = users; }
/// <summary> /// Initializes a new instance of the <see cref="NoteService"/> class. /// </summary> /// <param name="database">The database context.</param> /// <param name="servers">The server service.</param> /// <param name="users">The user service.</param> public NoteService ( [NotNull] ModerationDatabaseContext database, [NotNull] ServerService servers, [NotNull] UserService users ) { _database = database; _servers = servers; _users = users; }