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
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
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
e0303f2147
more renames and add extra constructor on attribute
2024-05-22 12:04:55 +01:00
Adam Hathcock
ad0caacc10
More search replace
2024-05-22 10:58:00 +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
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
5f92c81965
Fork changes
2024-05-21 16:30:10 +01:00
Adam Hathcock
e61651ba13
add to ignore test
2024-05-21 14:14:54 +01:00
Adam Hathcock
2baba84655
Add members-to-ignore to proxy data
2024-05-21 13:56:58 +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
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