Esempio n. 1
0
 //filter plugins
 pluginDescriptors = await pluginDescriptors.WhereAwait(async descriptor =>
                                                        FilterByLoadMode(descriptor, loadMode) &&
                                                        await FilterByCustomerAsync(descriptor, customer) &&
                                                        FilterByStore(descriptor, storeId) &&
                                                        FilterByPluginGroup(descriptor, group) &&
                                                        FilterByDependsOn(descriptor, dependsOnSystemName) &&
                                                        FilterByPluginFriendlyName(descriptor, friendlyName) &&
                                                        FilterByPluginAuthor(descriptor, author)).ToListAsync();
Esempio n. 2
0
 private void AddInProgress(async value)
 {
     _lockStepInProgress.EnterWriteLock();
     try
     {
         _stepInProgress.Add(value);
     }
     finally
     {
         _lockStepInProgress.ExitWriteLock();
     }
 }
 __o = item => new Template(async(__razor_template_writer) => {
 await ClientInternal.RestActionAsync <TResult>(async c =>
 {
     if (body == null)
Esempio n. 5
0
 app.UseApogee().Run(async ctx =>
 {
Esempio n. 6
0
 async(async arg)
 {
 }
Esempio n. 7
0
 await commandsStream.ForEachAsync(async command =>
 {
     switch (command)
     {
Esempio n. 8
0
	async (async arg)
	{
		int await = 0;
	}
Esempio n. 9
0
 await InternalNavigateAsync <T>(async (p) =>
 {
     await Navigation.PushModalAsync(p);
Esempio n. 10
0
              .Select(async item =>
 {
     if (!ConfigCache.TryGetValue($"{config.Tenant}#{item.Group}#{item.DataId}", out var data))
Esempio n. 11
0
 new AnonymousCommandHandler(
     async context => await handle(
Esempio n. 12
0
 get => new Command(async value =>
 {
Esempio n. 13
0
 public ICommand DeleteCommand => new DelegateCommand(async(_) =>
 {
     if (!string.IsNullOrWhiteSpace(Content.Id))
Esempio n. 14
0
 public ICommand OpenFileCommand => openFileCommand ?? (openFileCommand = new Command(async(param) =>
 {
     if (IsBusy || !(param is FileInfoItemViewModel item))
Esempio n. 15
0
 public ICommand ArticleCommand => articleCommand ?? (articleCommand = new Command(async(param) =>
 {
     if (!int.TryParse(param?.ToString(), out int page))
Esempio n. 16
0
 await _giveaway.GetAll().ForEach(async giveaway =>
 {
     if (!(_client.GetChannel(giveaway.ChannelId) is ITextChannel channel) ||
Esempio n. 17
0
 return(await Run(async ps =>
 {
Esempio n. 18
0
 public ICommand SelectCommand => new Command(async(o) =>
 {
     if (o != null && o is Item playlist)
Esempio n. 19
0
		async (async arg)
		{
		}
Esempio n. 20
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public LoginViewModel() => LoginCommand = new RelayParameterizedCommand(async parameter => await Login(parameter));
Esempio n. 21
0
 .Some(async handler => {
Esempio n. 22
0
 get => _addToCartCommand ?? (_addToCartCommand = new Command(async(product) =>
 {
 (source.Select(async e => (key: e.key, value: await e.valueTask())));
Esempio n. 24
0
 .MustAsync(async(currency, _) => await getCurrencyByCode.GetResult(NewGetByIdParam(email, currency)))
Esempio n. 25
0
 async(async arg)
 {
     int await = 0;
 }
Esempio n. 26
0
 return(CreateServerAsync(async(server, uri) =>
 {
Esempio n. 27
0
 get => exportPhotoCmd ?? (exportPhotoCmd = new CommandTemplate(async obj =>
   {
Esempio n. 28
0
 new Command(async param => await OnOpenModalPage(bool.TryParse((string)param, out bool showBar) && showBar));
Esempio n. 29
0
 public ICommand DeleteMapCommand => deleteMapCommand ?? (deleteMapCommand = new Command(async(param) =>
 {
     if (!(param is GeometryItem item))
Esempio n. 30
0
 CoreApplication.Views.ToImmutableList().ForEach(async view =>
 {
Esempio n. 31
0
 // create an asynchronous polling task while the authenticate process is running,
 // it will check the Cookie
 await chrome.AwaitAsync(async c =>
 {
 public ICommand DayTappedCommand => new Command(async(param) => {
     try {
         if (param is DateTime value)