예제 #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();
예제 #2
0
 private void AddInProgress(async value)
 {
     _lockStepInProgress.EnterWriteLock();
     try
     {
         _stepInProgress.Add(value);
     }
     finally
     {
         _lockStepInProgress.ExitWriteLock();
     }
 }
 __o = item => new Template(async(__razor_template_writer) => {
예제 #4
0
 await ClientInternal.RestActionAsync <TResult>(async c =>
 {
     if (body == null)
예제 #5
0
 app.UseApogee().Run(async ctx =>
 {
예제 #6
0
 async(async arg)
 {
 }
예제 #7
0
 await commandsStream.ForEachAsync(async command =>
 {
     switch (command)
     {
예제 #8
0
	async (async arg)
	{
		int await = 0;
	}
예제 #9
0
 await InternalNavigateAsync <T>(async (p) =>
 {
     await Navigation.PushModalAsync(p);
예제 #10
0
              .Select(async item =>
 {
     if (!ConfigCache.TryGetValue($"{config.Tenant}#{item.Group}#{item.DataId}", out var data))
예제 #11
0
 new AnonymousCommandHandler(
     async context => await handle(
예제 #12
0
 get => new Command(async value =>
 {
예제 #13
0
 public ICommand DeleteCommand => new DelegateCommand(async(_) =>
 {
     if (!string.IsNullOrWhiteSpace(Content.Id))
예제 #14
0
 public ICommand OpenFileCommand => openFileCommand ?? (openFileCommand = new Command(async(param) =>
 {
     if (IsBusy || !(param is FileInfoItemViewModel item))
예제 #15
0
 public ICommand ArticleCommand => articleCommand ?? (articleCommand = new Command(async(param) =>
 {
     if (!int.TryParse(param?.ToString(), out int page))
예제 #16
0
 await _giveaway.GetAll().ForEach(async giveaway =>
 {
     if (!(_client.GetChannel(giveaway.ChannelId) is ITextChannel channel) ||
예제 #17
0
 return(await Run(async ps =>
 {
예제 #18
0
 public ICommand SelectCommand => new Command(async(o) =>
 {
     if (o != null && o is Item playlist)
예제 #19
0
		async (async arg)
		{
		}
예제 #20
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public LoginViewModel() => LoginCommand = new RelayParameterizedCommand(async parameter => await Login(parameter));
예제 #21
0
 .Some(async handler => {
예제 #22
0
 get => _addToCartCommand ?? (_addToCartCommand = new Command(async(product) =>
 {
 (source.Select(async e => (key: e.key, value: await e.valueTask())));
예제 #24
0
 .MustAsync(async(currency, _) => await getCurrencyByCode.GetResult(NewGetByIdParam(email, currency)))
예제 #25
0
 async(async arg)
 {
     int await = 0;
 }
예제 #26
0
 return(CreateServerAsync(async(server, uri) =>
 {
예제 #27
0
 get => exportPhotoCmd ?? (exportPhotoCmd = new CommandTemplate(async obj =>
   {
예제 #28
0
 new Command(async param => await OnOpenModalPage(bool.TryParse((string)param, out bool showBar) && showBar));
예제 #29
0
 public ICommand DeleteMapCommand => deleteMapCommand ?? (deleteMapCommand = new Command(async(param) =>
 {
     if (!(param is GeometryItem item))
예제 #30
0
 CoreApplication.Views.ToImmutableList().ForEach(async view =>
 {
예제 #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)