tdsharp
tdsharp copied to clipboard
TDLib.Bindings vs TdLib.Bindings
For now, we have two distinct namespaces: TDLib.Bindings
and TdLib.Bindings
for some reason.
We should figure it out and try to switch to some single one from these two.
Yeah, that is probably just a typo I made somewhere.
Not only you: I have made it, too :)
The problem was that the case is different between the project files and the actual namespaces. I'm making a PR to make it all consistent (and hopefully don't break too much user code).
Okay, here's the strategy. There are three types which were in the wrong namespace: TDLib.Bindings.ITdLibBindings
, TDLib.Bindings.TdLibBindingsExtensions
, TDLib.Bindings.TdLogLevel
.
-
[x] The next tdsharp update (1.8.1.1) will include them within a special compatibility layer (see
TdLib/LecagyCompat.cs
), and they will be marked as[Obsolete]
. -
[x] The update after that (probably 1.8.9) will mark them as
[Obsolete(error: true)]
. -
[x] And the update after that (1.9?) will remove them.