namespace Dpz.Core.SourceGenerator.Models;
/// <summary>
/// 接口属性签名,用于生成装饰器的转发属性。
/// </summary>
internal readonly struct InterfaceProperty(
string name,
string typeName,
bool hasGetter,
bool hasSetter
)
{
public string Name { get; } = name;
public string TypeName { get; } = typeName;
public bool HasGetter { get; } = hasGetter;
public bool HasSetter { get; } = hasSetter;
}
评论加载中...