Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
8ba29b578d
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (19 sloc) 693 Bytes
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Dynamic;
namespace Microsoft.AspNetCore.SignalR
{
public class DynamicClientProxy : DynamicObject
{
private readonly IClientProxy _clientProxy;
public DynamicClientProxy(IClientProxy clientProxy)
{
_clientProxy = clientProxy;
}
public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out object result)
{
result = _clientProxy.InvokeAsync(binder.Name, args);
return true;
}
}
}
You can’t perform that action at this time.