public CleanupUpdatedActivity( IIndexController <long> updatedDataController, IStatusController statusController) : base(statusController) { this.updatedDataController = updatedDataController; }
public MasterDetailProductUpdateActivity( Entity context, IGetUpdateUriDelegate <Entity> getUpdateUriDelegate, IItemizeAllAsyncDelegate <long> itemizeUserRequestedOrDefaultAsyncDelegate, IDataController <MasterType> masterDataController, IDataController <DetailType> detailDataController, IIndexController <long> updatedDataController, IGetDeserializedAsyncDelegate <DetailType> getDeserializedDelegate, IGetUpdateIdentityDelegate <MasterType> getUpdateIdentityDelegate, IStatusController statusController, IFillGapsDelegate <DetailType, MasterType> fillGapsDelegate = null) : base(statusController) { this.masterDataController = masterDataController; this.detailDataController = detailDataController; this.updatedDataController = updatedDataController; this.itemizeUserRequestedOrDefaultAsyncDelegate = itemizeUserRequestedOrDefaultAsyncDelegate; this.getDeserializedDelegate = getDeserializedDelegate; this.getUpdateIdentityDelegate = getUpdateIdentityDelegate; this.fillGapsDelegate = fillGapsDelegate; this.context = context; this.getUpdateUriDelegate = getUpdateUriDelegate; updateTypeDescription = typeof(DetailType).Name; }
public ListUpdatedActivity( IIndexController <long> updatedDataController, IDataController <AccountProduct> accountProductsDataController, IStatusController statusController) : base(statusController) { this.updatedDataController = updatedDataController; this.accountProductsDataController = accountProductsDataController; }
public WishlistedUpdateActivity( IGetDeserializedAsyncDelegate <Models.ProductsPageResult> getProductsPageResultDelegate, IIndexController <long> wishlistedDataController, IStatusController statusController) : base(statusController) { this.getProductsPageResultDelegate = getProductsPageResultDelegate; this.wishlistedDataController = wishlistedDataController; }
public GetManualUrlDownloadSourcesAsyncDelegate( IIndexController <long> updatedDataController, IDataController <GameDetails> gameDetailsDataController, IItemizeAsyncDelegate <GameDetails, string> itemizeGameDetailsManualUrlsAsyncController, IStatusController statusController) { this.updatedDataController = updatedDataController; this.gameDetailsDataController = gameDetailsDataController; this.itemizeGameDetailsManualUrlsAsyncController = itemizeGameDetailsManualUrlsAsyncController; this.statusController = statusController; }
public ItemizeAllUpdatedGameDetailsManualUrlFilesAsyncDelegate( IIndexController <long> updatedDataController, IDataController <GameDetails> gameDetailsDataController, IItemizeAsyncDelegate <GameDetails, string> itemizeGameDetailsFilesAsyncDelegate, IStatusController statusController) { this.updatedDataController = updatedDataController; this.gameDetailsDataController = gameDetailsDataController; this.itemizeGameDetailsFilesAsyncDelegate = itemizeGameDetailsFilesAsyncDelegate; this.statusController = statusController; }
public ItemizeAllUpdatedProductFilesAsyncDelegate( IIndexController <long> updatedDataController, IDataController <GameDetails> gameDetailsDataController, IItemizeAsyncDelegate <GameDetails, string> itemizeGameDetailsDirectoriesAsyncDelegate, IDirectoryController directoryController, IStatusController statusController) { this.updatedDataController = updatedDataController; this.gameDetailsDataController = gameDetailsDataController; this.itemizeGameDetailsDirectoriesAsyncDelegate = itemizeGameDetailsDirectoriesAsyncDelegate; this.directoryController = directoryController; this.statusController = statusController; }
public UpdatedUpdateActivity( IActivityContextController activityContextController, IDataController <AccountProduct> accountProductDataController, IConfirmDelegate <AccountProduct> confirmAccountProductUpdatedDelegate, IIndexController <long> updatedIndexController, IStatusController statusController) : base(statusController) { this.activityContextController = activityContextController; this.accountProductDataController = accountProductDataController; this.confirmAccountProductUpdatedDelegate = confirmAccountProductUpdatedDelegate; this.updatedIndexController = updatedIndexController; }
/// <summary> /// Calls the GetIndexFilterOptions on the ViewBuilder and returns the results /// </summary> /// <param name="controller"></param> /// <param name="modelName">The Fully Qualified Assembly Name of the model</param> /// <param name="viewBuilder">An ICrudViewBuilder implementation</param> /// <param name="visitors">Any IFilterOptionVisitors to be passed to the ViewBuilder</param> /// <returns></returns> public static IEnumerable <FilterOption> GetFilterOptions(this IIndexController controller, string modelName, ICrudViewBuilder viewBuilder, params IFilterOptionVisitor[] visitors) { var modelType = Type.GetType(modelName, false, true); var buildIndexMethod = viewBuilder.GetType().GetMethod("GetIndexFilterOptions"); var genericMethod = buildIndexMethod.MakeGenericMethod(modelType); var filterOptions = genericMethod.Invoke(viewBuilder, new object[] { visitors }) as IEnumerable <FilterOption>; return(filterOptions); }