21 Commits

Author SHA1 Message Date
Adam Hathcock a6b99abd13 Generate structs for structs and fix struct out parameter if known (#8)
* Generate structs for structs and fix struct out parameter if known

* fmt
2024-06-17 17:04:52 +01:00
Adam Hathcock 36840265ca Add test for new _Instance but removing if option is used 2024-06-03 14:41:30 +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 345b436b37 disable tests on CI because I can't find out why it's not working on GA 2024-05-22 09:32:59 +01:00
Adam Hathcock 5f92c81965 Fork changes 2024-05-21 16:30:10 +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 6b6e5d04a0 Do not redefine interfaces. (#67)
* Do not redefine interfaces.

* Improve code style, readability and performance after initial code review

* Implemented unit tests for the interface inheritance

* Cleaned up unit tests.

* Completely remove output helper.
2024-04-23 10:52:52 +02:00
Stef Heyenrath 764d9d4f58 Change "nullable disable" to "nullable restore" (#65)
* Remove "#nullable disable" and the end of generated cs file

* restore

* .
2023-10-10 19:38:40 +02: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 d25601cf22 Add unit test for generic class + change generated filename (#50) 2023-01-08 09:10:17 +01:00
Stef Heyenrath a1a283c8bb Add support for parameter attributes (#48)
* 1

* 2

* 3

* .

* x
2022-12-17 11:28:16 +01:00
Stef Heyenrath a98db7aac2 Fixed GetDeterministicHashCodeAsString (use InvariantCulture) (#41)
* Akka.Remote example

* ToString(CultureInfo.InvariantCulture)

* .
2022-12-13 16:42:59 +01:00
Stef Heyenrath 0e57de17c3 Use Mapster as mapper (#39)
* mapster

* ,

* .

* ...

* .

* .

* .

* .

* .

* .

* int

* .

* ;
2022-09-05 21:26:02 +02: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 23e9f80832 Add support for 'file-scoped' namespaces (#32)
* 008

* n

* da
2022-05-07 09:33:15 +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 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