BotSharp/BotSharp.Core/IAgentStorageFactory.cs
geffzhang 83b9a2347e refactor di and modify async/await
feat : refactor di and modify async/await
2018-10-05 14:39:39 +08:00

12 lines
261 B
C#

using BotSharp.Platform.Abstraction;
using BotSharp.Platform.Models;
using System.Threading.Tasks;
namespace BotSharp.Core
{
public interface IAgentStorageFactory
{
Task<IAgentStorage<TAgent>> Get<TAgent>() where TAgent : AgentBase;
}
}