Commit Graph

25 Commits

Author SHA1 Message Date
Adam Hathcock 4303a788ab Move Mapster config to static constructors (#7) 2024-06-14 13:04:45 +01:00
Adam Hathcock ad3f6afb64 DUI3-300 - add ProxyMap to source gen (#6) 2024-06-13 16:26:02 +01:00
Adam Hathcock 6391515c19 More options (#5)
* update generator and tests

* Add ImplementationOptions

* option tests

* fix some tests

* UseExtendedInterfaces with flag enum parsing

* add test for using base interfaces instead of interface

* add ProxyForBaseInterface

* add extra overload

* don't put new if we're replacing interfaces

* really remove AutoMapper

* remove akka and fix up interface

* Bigger bump for version

* adjust readme
2024-05-24 13:16:14 +01:00
Adam Hathcock ad0caacc10 More search replace 2024-05-22 10:58:00 +01:00
Adam Hathcock e341772cbc add csharpier 2024-05-21 16:34:46 +01:00
Adam Hathcock 1734d5162a namespace change 2024-05-21 16:33:33 +01:00
Adam Hathcock e61651ba13 add to ignore test 2024-05-21 14:14:54 +01:00
Adam Hathcock e5a0b7b7d3 intermediate commit 2024-05-21 13:55:59 +01:00
Adam Hathcock 5568a98e0b add MembersToIgnore 2024-05-21 13:03:43 +01:00
Stef Heyenrath b063a4b6af Add tests for interfaces with same name but different namespace (#70) 2024-04-28 12:41:55 +02:00
David 39d85588e6 Use fully qualified names to reduce namespace clashes. (#68)
* Use fully qualified names to reduce namespace clashes.

* Small code style fixes.

* Make properties in ProxyData immutable.

* Remove clutter by joining TrimEnd() to previous line.

* Introduce Extension method to retrieve ITypeSymbol FullyQualifiedDisplayString

* Fixed some code issues.

* Fixed method call in BaseGenerator

* Refactor metadata name
2024-04-28 10:25:50 +02:00
Stef Heyenrath 059886d1ca Exclude System.Runtime.CompilerServices.NullableContextAttribute (#66)
* HttpClient

* .

* .

* .
2023-12-06 21:32:07 +01:00
Stef Heyenrath e0ff3e4d54 Fix "ref" parameter (#61) 2023-03-02 11:02:00 +01:00
Stef Heyenrath eadcf8585f Add support for public and internal ProxyClass (#58)
* x

* fx

* .
2023-02-24 16:22:26 +01:00
Stef Heyenrath c1d42ac7e5 Return correct type (interfacve) for array (#53) 2023-01-23 13:11:51 +01:00
Stef Heyenrath 106385a466 Add support for implicit and explicit operators (#51)
* .

* xxxxxxxx

* rev

* ....

* .

* ok

* 2

* .

* ,
2023-01-09 21:06:30 +01:00
Stef Heyenrath d25601cf22 Add unit test for generic class + change generated filename (#50) 2023-01-08 09:10:17 +01:00
Stef Heyenrath d340c6af7c Only generate setters and getters for public properties (#47)
* Only generate setters and getters for public properties

* .
2022-12-13 19:18:30 +01:00
Stef Heyenrath 72a40e6f6a Add support to generate code for interface without a namespace (#46) 2022-12-13 18:51:06 +01:00
Stef Heyenrath 69fa995982 Fixed generated code when a class extends multiple classes (#38)
* .

* .

* pnp

* ok

* compiles

* ?

* e

* set

* .ToArray()

* n

* ...

* ok

* pnp

* .

* .

* mapster
2022-09-04 11:13:16 +02:00
Stef Heyenrath b995ac3912 Fixed TryFindProxyDataByTypeName (#30)
* pnp

* .

* .

* okee

* ns

* .

* o

* .

* ,

* x

* t

* co

* .

* r

* CastTo
2022-02-06 11:14:14 +01:00
Stef Heyenrath d7483d6b7e Add support for base (proxy) class (#29) 2022-02-04 11:33:26 +01:00
Stef Heyenrath 307bc1a015 Add support for static properties and methods (#28)
* x

* Add support for static properties and methods.
2022-02-02 09:01:51 +01:00
Stef Heyenrath f9664e0564 ProxyBaseClasses (#27) 2022-02-01 18:49:01 +01:00
Stef Heyenrath 00cd67f355 Update filename for generated interface files + set DevelopmentDependency to true for the project (#26)
* Update filename for generated interface files

* .

* .

* <DevelopmentDependency>true</DevelopmentDependency>
2021-08-10 20:33:34 +02:00