框架上传
This commit is contained in:
16
Assets/00.StaryEvo/Runtime/Rule/ICanSendQuery.cs
Normal file
16
Assets/00.StaryEvo/Runtime/Rule/ICanSendQuery.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Stary.Evo
|
||||
{
|
||||
public interface ICanSendQuery : IBelongToArchitecture
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static class CanSendQueryExtension
|
||||
{
|
||||
public static T SendQuery<T>(this ICanSendQuery self, IQuery<T> query)
|
||||
{
|
||||
return self.GetArchitecture().SendQuery(query);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user