Add support for 'file-scoped' namespaces (#32)

* 008

* n

* da
This commit is contained in:
Stef Heyenrath
2022-05-07 09:33:15 +02:00
committed by GitHub
parent 15547b9498
commit 23e9f80832
10 changed files with 116 additions and 50 deletions
@@ -1,13 +1,13 @@
namespace ProxyInterfaceSourceGenerator.Models;
internal record ProxyData
(
string Namespace,
string ShortInterfaceName,
string FullInterfaceName,
string FullRawTypeName,
string ShortTypeName,
string FullTypeName,
List<string> Usings,
bool ProxyBaseClasses
);
internal class ProxyData
{
public string Namespace { get; init; }
public string ShortInterfaceName { get; init; }
public string FullInterfaceName { get; init; }
public string FullRawTypeName { get; init; }
public string ShortTypeName { get; init; }
public string FullTypeName { get; init; }
public List<string> Usings { get; init; }
public bool ProxyBaseClasses { get; init; }
}