コード例 #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
ファイル: UnitTest1.cs プロジェクト: joncloud/apogee-net
 app.UseApogee().Run(async ctx =>
 {
コード例 #6
0
 async(async arg)
 {
 }
コード例 #7
0
ファイル: SampleService.cs プロジェクト: xxLestadxx/apocryph
 await commandsStream.ForEachAsync(async command =>
 {
     switch (command)
     {
コード例 #8
0
ファイル: test-async-22.cs プロジェクト: alaendle/mono
	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
ファイル: HistoryItem.cs プロジェクト: kurema/BookViewerApp3
 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
ファイル: test-async-22.cs プロジェクト: alaendle/mono
		async (async arg)
		{
		}
コード例 #20
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public LoginViewModel() => LoginCommand = new RelayParameterizedCommand(async parameter => await Login(parameter));
コード例 #21
0
ファイル: MessageHub.cs プロジェクト: geirsagberg/BunnyLand
 .Some(async handler => {
コード例 #22
0
 get => _addToCartCommand ?? (_addToCartCommand = new Command(async(product) =>
 {
コード例 #23
0
 (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
ファイル: AlbumViewModel.cs プロジェクト: ershma/Albums
 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
ファイル: Authentication.cs プロジェクト: wanxm-jnbms/Pixeval
 // 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)