Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to cast object of type 'boilersGraphics.ViewModels.SnapPointViewModel' to type 'boilersGraphics.ViewModels.IRect'. #92

Open
sofiosomkhisvili opened this issue Aug 9, 2023 · 0 comments

Comments

@sofiosomkhisvili
Copy link

Please describe the details of the error

System.InvalidCastException
at System.Linq.Enumerable.CastIterator[TResult](IEnumerable source)+MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at boilersGraphics.Models.Layer.UpdateAppearance(IEnumerable1 items, Boolean backgroundIncluded)
at boilersGraphics.Models.LayerTreeViewItemBase.UpdateAppearanceBothParentAndChild()
at boilersGraphics.Models.Layer.<.ctor>b__1_10(Unit x)
at System.Reactive.AnonymousSafeObserver1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 43 at System.Reactive.Sink1.ForwardOnNext(TTarget value) in //Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:line 49
at System.Reactive.ObserveOnObserverNew1.DrainStep(ConcurrentQueue1 q) in /
/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 561
at System.Reactive.ObserveOnObserverNew1.DrainShortRunning(IScheduler recursiveScheduler) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 507 at System.Reactive.ObserveOnObserverNew1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew1 self) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 497 at System.Reactive.Concurrency.DispatcherScheduler.<>c__DisplayClass11_01.b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant