public ShortcutsController(IShortcutQuery shortcutQuery, IAliasGenerator generator, IShortcutAdmin shortcutAdmin,
                            IRedirectQuery redirectQuery, IRedirectExtendedQuery redirectExtendedQuery)
 {
     _shortcutQuery         = shortcutQuery;
     _generator             = generator;
     _shortcutAdmin         = shortcutAdmin;
     _redirectQuery         = redirectQuery;
     _redirectExtendedQuery = redirectExtendedQuery;
 }
Example #2
0
 /// <summary>
 /// Creates a new instance of <see cref="QueryToSqlConverter"/>.
 /// </summary>
 /// <param name="aliasGenerator">The <see cref="IAliasGenerator"/>.</param>
 public QueryToSqlConverter(IAliasGenerator aliasGenerator)
 {
     _aliasGenerator = aliasGenerator ?? throw new ArgumentNullException(nameof(aliasGenerator));
 }
Example #3
0
 internal ThenSortKeyBuilder(string table, SortKey sortKey, IAliasGenerator aliasGenerator)
 {
     _aliasGenerator = aliasGenerator ?? throw new ArgumentNullException(nameof(aliasGenerator));
     Table           = table ?? throw new ArgumentNullException(nameof(table));
     SortKey         = sortKey ?? throw new ArgumentNullException(nameof(sortKey));
 }