Commit Graph

30 Commits

Author SHA1 Message Date
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 4490925655 Remove IHttpClient examples + rerun tests to generate files 2024-04-23 10:59:26 +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 059886d1ca Exclude System.Runtime.CompilerServices.NullableContextAttribute (#66)
* HttpClient

* .

* .

* .
2023-12-06 21:32:07 +01: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 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 65d1d801ce Fixed multi-dimension argument / return type (#55)
* Fixed multi dimension array arguments

* .

* .

* .

* ,
2023-02-21 19:10:03 +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 e22cec1b62 Add support for Property and Method attributes (#49)
* .

* .

* P en E

* .
2022-12-17 13:36:41 +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 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 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 44213e91ab Add support for indexers (#37)
* .

* .

* .

* ...

* .

* c

* p

* ok

* .
2022-05-09 22:35:08 +02:00
Stef Heyenrath 87b2b6c6c3 Fix default valeu for reference types and non-reference types (#34)
* .

* ok

* sw

* .

* .
2022-05-08 18:19:10 +02:00
Stef Heyenrath cab6a1ea77 Fix for default parameter (default) (#33) 2022-05-08 10:17:48 +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 55043701db Fix for Explicit DefaultValue is not defined (#31)
* Fix for Explicit DefaultValue is not defined

* .
2022-05-06 23:57:26 +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