using System.Reflection;
using ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
/// Read-only empty script catalog; every backend operation is refused.
public class ProtocolReadOnlyProxy : DispatchProxy
{
protected override object? Invoke(MethodInfo? method, object?[]? args) => method?.Name == nameof(IUnsTreeService.LoadScriptsAsync)
? Task.FromResult>([])
: throw new NotSupportedException("No backend operations in protocol fixture: " + method?.Name);
}