// ReSharper disable once TooManyDependencies public Select(IBody <TIn> body, IStores <TOut> stores, Func <TIn, TOut> select, Assigned <uint> limit) { _body = body; _stores = stores; _select = select; _limit = limit; }
// ReSharper disable once TooManyDependencies public Concatenation(IBody <T> body, ISequence <T> others, IStores <T> stores, Assigned <uint> limit) { _body = body; _others = others; _stores = stores; _limit = limit; }
/// <summary> /// Return the store details for specified store name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='storeName'> /// The name of the store /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ExternalStoreResponse> GetAsync(this IStores operations, string storeName, string ownerName, string appName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(storeName, ownerName, appName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
public AspectRegistrations(IStores <IAspect <TIn, TOut> > stores, Func <Array <IRegistration> > registrations, ISelect <object, IAspect <TIn, TOut> > adapter) { _stores = stores; _registrations = registrations; _adapter = adapter; }
public TaxOrderDetailsByProduct(IStores StoreObj, IProduct ProductObj, double PreTaxProductPrice, double PostTaxProductPrice, double Tax) { this.StoreObj = StoreObj; this.ProductObj = ProductObj; this.PreTaxProductPrice = PreTaxProductPrice; this.PostTaxProductPrice = PostTaxProductPrice; this.Tax = Tax; }
// ReSharper disable once TooManyDependencies public InlineProjection(IBody <TIn> body, Copy <TIn, TOut> apply, IStores <TOut> stores, Assigned <uint> limit) { _body = body; _apply = apply; _stores = stores; _limit = limit; }
// ReSharper disable once TooManyDependencies public SelectMany(IBody <TIn> body, Func <TIn, IEnumerable <TOut> > project, IStores <TOut> stores, IIterate <TOut> iterate, Assigned <uint> limit) { _body = body; _project = project; _stores = stores; _iterate = iterate; _limit = limit; }
// ReSharper disable once TooManyDependencies public Union(IBody <T> body, ISequence <T> others, IEqualityComparer <T> comparer, IStores <T> stores, Assigned <uint> limit) { _body = body; _others = others; _comparer = comparer; _stores = stores; _limit = limit; }
public Parameter(IBody <TIn> body, IStores <TOut> stores, Assigned <uint> limit) { Body = body; Stores = stores; Limit = limit; }
public StoreAdminModel(IProductRepository prodRepo, IStores storeRepo) { products = prodRepo; stores = storeRepo; }
// ReSharper disable once TooManyDependencies public InlineProjection(IBody <TIn> body, Expression <Func <TIn, TOut> > select, IStores <TOut> stores, Assigned <uint> limit) : this(body, InlineSelections <TIn, TOut> .Default.Get(select).Compile(), stores, limit) { }
/// <summary> /// Get all the store details from Storage store table for a particular /// application. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static IList <ExternalStoreResponse> List(this IStores operations, string ownerName, string appName) { return(operations.ListAsync(ownerName, appName).GetAwaiter().GetResult()); }
/// <summary> /// delete the store based on specific store name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='storeName'> /// The name of the store /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteAsync(this IStores operations, string storeName, string ownerName, string appName, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteWithHttpMessagesAsync(storeName, ownerName, appName, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
public ShowStoreModel(IStores storesRepo, IProductRepository productsRepo) { stores = storesRepo; products = productsRepo; }
public Func <Assigned <uint>, IContent <TIn, TTo> > Get(IStores <TTo> parameter) => new Next <TIn, TOut, TTo>(_from, _to.Get(parameter)).Get;
public ZPushAccounts(ZPushWatcher watcher, IAddIn addIn) { this._watcher = watcher; this._addIn = addIn; this._stores = addIn.Stores; }
// ReSharper disable once TooManyDependencies public SelectMany(IBody <TIn> body, Func <TIn, IEnumerable <TOut> > project, IStores <TOut> stores, Assigned <uint> limit) : this(body, project, stores, Iterate <TOut> .Default, limit) { }
public StoresBLL() : base(typeName) { iStores = (IStores)idal; }
/// <summary> /// Update the store. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='storeName'> /// The name of the store /// </param> /// <param name='body'> /// Store update request /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task PatchAsync(this IStores operations, string storeName, StorePatchRequest body, string ownerName, string appName, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.PatchWithHttpMessagesAsync(storeName, body, ownerName, appName, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
public CollectionSelection(IStores <T> storage) => _storage = storage;
/// <summary> /// delete the store based on specific store name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='storeName'> /// The name of the store /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static void Delete(this IStores operations, string storeName, string ownerName, string appName) { operations.DeleteAsync(storeName, ownerName, appName).GetAwaiter().GetResult(); }
public Func <Assigned <uint>, IContent <TIn, TOut> > Get(IStores <TOut> parameter) => new SelectedContent <TIn, TOut>(_partition, _contents, parameter).Get;
/// <summary> /// Create a new external store for the specified application. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// The store request /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static ExternalStoreResponse Create(this IStores operations, ExternalStoreRequest body, string ownerName, string appName) { return(operations.CreateAsync(body, ownerName, appName).GetAwaiter().GetResult()); }
public DeferredSequence(Array <IResult <T> > results, IStores <T> stores) { _results = results; _stores = stores; }
/// <summary> /// Return the store details for specified store name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='storeName'> /// The name of the store /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static ExternalStoreResponse Get(this IStores operations, string storeName, string ownerName, string appName) { return(operations.GetAsync(storeName, ownerName, appName).GetAwaiter().GetResult()); }
public StoresModel(IStores repository) { repo = repository; }
/// <summary> /// Update the store. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='storeName'> /// The name of the store /// </param> /// <param name='body'> /// Store update request /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static void Patch(this IStores operations, string storeName, StorePatchRequest body, string ownerName, string appName) { operations.PatchAsync(storeName, body, ownerName, appName).GetAwaiter().GetResult(); }
public SelectedContent(IPartition <TIn> partition, IContents <TIn, TOut> contents, IStores <TOut> stores) { _contents = contents; _partition = partition; _stores = stores; }
public Storage(IStores <T> stores, ICommand <T[]> @return) : base(stores.Get) => _return = @return;
public SelectedContent(IContents <TIn, TOut> contents, IStores <TOut> stores) : this(Partition <TIn> .Default, contents, stores) { }