public LikeFollowAnnounceHandler(IEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection, EntityData data, RelevantEntitiesService relevantEntities, IServiceProvider serviceProvider, DbConnection connection) : base(entityStore, mainObject, actor, targetBox, user) { _collection = collection; _data = data; _relevantEntities = relevantEntities; _serviceProvider = serviceProvider; _connection = connection; }
public UndoActivityHandler(StagingEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection) : base(entityStore, mainObject, actor, targetBox, user) { _collection = collection; }
public WebSubBackgroundTask(EventQueueItem item, IEntityStore entityStore, DbConnection connection, CollectionTools collectionTools) : base(item) { _entityStore = entityStore; _connection = connection; _collectionTools = collectionTools; }
public bool IsMatch(Type type, Node node) { return(CollectionTools.HasCollectionBase(type)); }
public AdminController(DbConnection connection, IEntityStore entityStore, EntityData entityData, JwtTokenSettings tokenSettings, SignInManager <APUser> signInManager, IServiceProvider provider, IConfigurationRoot configuration, EntityFlattener flattener, UserManager <APUser> userManager, RelevantEntitiesService relevantEntities, CollectionTools collectionTools) { _connection = connection; _entityStore = entityStore; _entityData = entityData; _tokenSettings = tokenSettings; _signInManager = signInManager; _provider = provider; _configuration = configuration; _flattener = flattener; _userManager = userManager; _relevantEntities = relevantEntities; _collectionTools = collectionTools; }
public FollowLikeHandler(StagingEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection, EntityData data) : base(entityStore, mainObject, actor, targetBox, user) { _collection = collection; _data = data; }
public AuthController(DbConnection connection, UserManager <APUser> userManager, SignInManager <APUser> signInManager, JwtTokenSettings tokenSettings, EntityFlattener entityFlattener, IEntityStore entityStore, EntityData entityConfiguration, IDataProtectionProvider dataProtectionProvider, IConfigurationRoot configuration, DeliveryService deliveryService, SignatureVerifier verifier, IServiceProvider provider, CollectionTools collectionTools, RelevantEntitiesService relevantEntities) { _connection = connection; _userManager = userManager; _signInManager = signInManager; _tokenSettings = tokenSettings; _entityFlattener = entityFlattener; _entityStore = entityStore; _entityConfiguration = entityConfiguration; _dataProtector = dataProtectionProvider.CreateProtector("OAuth tokens"); _configuration = configuration; _deliveryService = deliveryService; _verifier = verifier; _provider = provider; _collectionTools = collectionTools; _relevantEntities = relevantEntities; }
public AcceptRejectFollowHandler(IEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, EntityData data, CollectionTools collection) : base(entityStore, mainObject, actor, targetBox, user) { _data = data; _collection = collection; }
public CreateActorHandler(StagingEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection, EntityData entityData, APContext context) : base(entityStore, mainObject, actor, targetBox, user) { _collection = collection; _entityData = entityData; _context = context; }
public SettingsController(APContext context, IEntityStore entityStore, EntityData entityData, JwtTokenSettings tokenSettings, SignInManager <APUser> signInManager, IServiceProvider provider, IConfigurationRoot configuration, EntityFlattener flattener, UserManager <APUser> userManager, RelevantEntitiesService relevantEntities, CollectionTools collectionTools, TemplateService templateService) { _context = context; _entityStore = entityStore; _entityData = entityData; _tokenSettings = tokenSettings; _signInManager = signInManager; _provider = provider; _configuration = configuration; _flattener = flattener; _userManager = userManager; _relevantEntities = relevantEntities; _collectionTools = collectionTools; _templateService = templateService; }
/// <summary> /// Joins one enumerator with another as yield /// </summary> /// <typeparam name="T">Type of enumerated.</typeparam> /// <param name="first">First enumerator.</param> /// <param name="second">Second enumerator.</param> /// <returns> /// Joined enumerators as yield. /// </returns> public static IEnumerable <T> YieldWith <T>(this IEnumerable <T> first, IEnumerable <T> second) { return(CollectionTools.JoinEnumerators(first, second)); }
public CollectionEntityStore(CollectionTools collectionTools, IEntityStore next) { _collectionTools = collectionTools; Bypass = next; }
public RenderController(IEntityStore entityStore, TemplateService templateService, CollectionTools collectionTools) { _entityStore = new CollectionEntityStore(collectionTools, entityStore); _templateService = templateService; }
public CreateHandler(IEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection) : base(entityStore, mainObject, actor, targetBox, user) { _collection = collection; }
public DeliveryHandler(IEntityStore entityStore, APEntity mainObject, APEntity actor, APEntity targetBox, ClaimsPrincipal user, CollectionTools collection, DeliveryService deliveryService) : base(entityStore, mainObject, actor, targetBox, user) { _collection = collection; _deliveryService = deliveryService; }