59 Commits

Author SHA1 Message Date
Adam Hathcock 1b93e37894 default options if null (#10) 2024-06-19 11:59:57 +01:00
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 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 6b571e7714 do all net8 2024-05-22 09:03:13 +01:00
Adam Hathcock e341772cbc add csharpier 2024-05-21 16:34:46 +01:00
Adam Hathcock 5f92c81965 Fork changes 2024-05-21 16:30:10 +01:00
Adam Hathcock 7f31f43f97 add _Instance to interface to test 2024-05-21 14:18:29 +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 49ddbc089a Cleanup some code 2024-04-28 10:45:33 +02:00
Stef Heyenrath 4490925655 Remove IHttpClient examples + rerun tests to generate files 2024-04-23 10:59:26 +02:00
Stef Heyenrath 0de5e0ba51 IHttpClient - 0.0.1 2023-12-07 10:01:42 +01:00
Stef Heyenrath 0ccb94a3a7 IHttpClient 2023-12-06 21:56:58 +01:00
Stef Heyenrath 059886d1ca Exclude System.Runtime.CompilerServices.NullableContextAttribute (#66)
* HttpClient

* .

* .

* .
2023-12-06 21:32:07 +01:00
Stef Heyenrath 0c19988fd2 fix 2023-03-14 18:50:47 +01:00
Stef Heyenrath f46c8533df Add test for HttpClient (#62) 2023-03-14 18:39:23 +01:00
Stef Heyenrath e0ff3e4d54 Fix "ref" parameter (#61) 2023-03-02 11:02:00 +01:00
Stef Heyenrath af99f41dc9 0.0.34 2023-02-25 10:12:37 +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 7e497cd9c7 0.0.24 2022-09-05 21:28:00 +02: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 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
Stef Heyenrath 9dd2221f23 Fix support for Nullable (language version 8) (#25)
* Only emit #nullable when nullable is supported (>= 8.0)

* x

* is not
2021-08-06 17:09:01 +02:00
Stef Heyenrath 8d43c73816 Add <auto-generated> (#24) 2021-08-05 21:34:50 +02:00
Stef Heyenrath 2a56acea6e 0.0.8 2021-08-03 21:08:05 +02:00
Stef Heyenrath c536e194e7 Add support for Events (#23)
* event wip...

* Add support for 'event'

* event example
2021-08-03 21:03:45 +02:00
Stef Heyenrath 8eb0733d6f update readme 2021-08-03 06:01:40 +00:00
Stef Heyenrath 7baf050c12 Add support for using a simple type-name (#22) 2021-08-02 11:49:41 +02:00
Stef Heyenrath a778c35728 0.0.6 2021-08-01 10:35:53 +02:00
Stef Heyenrath 390093d007 Add support for generics (#20)
* wip

* .

* method

* TT

* TT

* .

* .

* mp
2021-08-01 10:34:25 +02:00
Stef Heyenrath 296988b13f Use 0.0.5 2021-07-31 20:15:16 +02:00
Stef Heyenrath a1d23422dc Fix Default value (#19) 2021-07-31 20:10:46 +02:00
Stef Heyenrath 541477b545 Add support for reserved keywords like @object and @string (#18) 2021-07-31 10:21:12 +02:00
Stef Heyenrath c1359511d6 use 0.0.4 in sample 2021-07-31 09:35:40 +02:00
Stef Heyenrath e6724dd457 Fix method parameters: 'in', 'out' and 'ref' (#17)
* Fix Ref and Out

* _
2021-07-27 18:47:00 +02:00
Stef Heyenrath 23f0485d74 Fix 'params' (#16) 2021-07-26 18:22:28 +02:00
Stef Heyenrath 86ef9ede98 Fix issue #4 (string?) (#15)
* #4

* Only replace if required

* fix

* private readonly IMapper _mapper;

* CRLF
2021-07-26 16:24:30 +02:00
Stef Heyenrath 0f58ce480d Fix namespace (#1)
* Fix NS

* .
2021-07-25 19:22:24 +02:00
Stef Heyenrath a38d8c8ef0 Add ProxyInterfaceConsumerViaNuGet project 2021-07-25 17:29:26 +02:00
Stef Heyenrath b627e169a6 Method 2021-07-25 16:06:32 +02:00
Stef Heyenrath 2531e8e688 AutoMapper 2021-07-25 15:26:50 +02:00