mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 13:33:13 +00:00
MAUI Support
This commit is contained in:
@ -16,4 +16,13 @@ public struct ResourceGeneratorClassInfo
|
||||
|
||||
public ClassDeclarationSyntax ClassDeclaration { get; set; }
|
||||
|
||||
public bool IsInterfaceImplemented(Dictionary<string, ResourceGeneratorClassInfo> classes)
|
||||
{
|
||||
if (HasInterface)
|
||||
return true;
|
||||
|
||||
// Are we going to generate the interface for the parent ?
|
||||
var fullName = ClassSymbol.BaseType.ContainingAssembly + "." + ClassSymbol.BaseType.Name;
|
||||
return classes.ContainsKey(fullName);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user