public PrivateMessagesController(ApplicationDbContext context, Logger logger, UserManager <AppUser> manager,
                                  IdCombiner combiner)
 {
     _userManager = manager;
     _logger      = logger;
     _context     = context;
     _combiner    = combiner;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Joins the other row to the current row.
 /// </summary>
 /// <typeparam name="TOther">
 /// The type of the other row's unique id.
 /// </typeparam>
 /// <param name="builder">
 /// The builder.
 /// </param>
 /// <param name="other">
 /// The other row.
 /// </param>
 /// <returns>
 /// The joined row, or null when the rows cannot be joined.
 /// </returns>
 protected override Row CombineFrom <TOther>(IRowBuilder builder, RowImplementation <TOther> other)
 {
     return(IdCombiner <T, TOther> .Combine(builder, this, other));
 }