mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-04-04 12:28:21 +00:00
Layout
This commit is contained in:
20
Libraries/Esiur/Proxy/ResourceGeneratorClassInfo.cs
Normal file
20
Libraries/Esiur/Proxy/ResourceGeneratorClassInfo.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Microsoft.CodeAnalysis;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
||||
namespace Esiur.Proxy;
|
||||
public struct ResourceGeneratorClassInfo
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public bool HasInterface { get; set; }
|
||||
public bool HasTrigger { get; set; }
|
||||
public List<IFieldSymbol> Fields { get; set; }
|
||||
public ITypeSymbol ClassSymbol { get; set; }
|
||||
public ClassDeclarationSyntax ClassDeclaration { get; set; }
|
||||
|
||||
// Deprecated in incremental path. Use IsInterfaceImplemented(ResourceClassInfo, merged) instead.
|
||||
public bool IsInterfaceImplemented(System.Collections.Generic.Dictionary<string, ResourceGeneratorClassInfo> classes) => HasInterface;
|
||||
}
|
||||
Reference in New Issue
Block a user