using System.Collections.Immutable;
namespace Dpz.Core.SourceGenerator.Models;
/// <summary>
/// 标记了缓存失效特性的方法元数据。
/// </summary>
internal readonly struct InvalidatedMethod(
string name,
string returnType,
ImmutableArray<CachedParameter> parameters,
ImmutableArray<string> methods
)
{
public string Name { get; } = name;
public string ReturnType { get; } = returnType;
public ImmutableArray<CachedParameter> Parameters { get; } = parameters;
public ImmutableArray<string> Methods { get; } = methods;
}
评论加载中...