bodong1987 / Avalonia.PropertyGrid

A property edit control in Avalonia like DevExpress's PropertyGridControl.
https://www.cnblogs.com/bodong
MIT License
184 stars 19 forks source link

Remove unwanted dependencies #35

Closed maxkatz6 closed 3 months ago

maxkatz6 commented 3 months ago

Hi! Currently, Avalonia.PropertyGrid brings some unwanted dependencies to the users projects:

  1. Avalonia.Diagnostics - typically, Avalonia.Diagnostics is only included in Debug builds of applications. And only included in the executable projects. Having it controls library will force every app to always include them.

  2. System.Reactive - by itself isn't really an issue. But might add some unwanted binary size, and isn't really used in the project, aside from Subscribe extension, which can be replaced with AnonymousObserver.