Closed james1o4timothy closed 10 months ago
We will try to answer all questions that do not require research within 24hr. To prioritize cases that require research we use the following labels in order. For all other issues the posting time is respected.
This case is prioritized.
thanks will update the docs as per next snippet
public override void Setup(ApplicationModulesManager moduleManager) {
base.Setup(moduleManager);
moduleManager.WhenApplication(application => application.WhenListViewCreating(typeof(NonPersistentObject))
.SelectMany(t => ((NonPersistentObjectSpace) t.e.ObjectSpace)
.WhenObjectsGetting()
.Do(_ => _.e.Objects = new BindingList<NonPersistentObject>())) )
.Subscribe(this);
}
Error CS0411 The type arguments for method 'XafApplicationRxExtensions.SelectMany
am using these
using Xpand.XAF.Modules.Reactive.Services; using Xpand.XAF.Modules.Reactive.Extensions; using System.Linq;
sample me please in an empty xaf solution using only the Xpand.XAF.Modules.Reactive package, note u can use any package u want I just want to simplify your attempt for your better understanding
also just reference this a c# generics usage mistake rather an issue with our RX api
The pre-release 4.202.51.1 in the Reactive.XAF lab
branch includes commits that relate to this task:
To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).
Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.
Issue is deprioritized
as no Assignee found
and scheduled for auto-close
if no activity in the next 60 days
. Thanks a lot for your contribution.
Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.
The sample provided in the documentation doesn't compile.
public override void Setup(ApplicationModulesManager moduleManager){ base.Setup(moduleManager); moduleManager.WhenApplication().WhenListViewCreating(typeof(NonPersistentObject)) .SelectMany(tuple => ((NonPersistentObjectSpace) tuple.args.ObjectSpace) .WhenObjectsGetting().Do(_ => { _.e.Objects = new BindingList<NonPersistentObject>(); }) ) .Subscribe(this); }
WhenApplication expects a parameter.