Commit aa7d0d93 authored by 潘栩锋's avatar 潘栩锋 🚴

添加 FObjBase.Reflect [PropertyPush] 数组支持

parent 2b68df49
This diff is collapsed.
...@@ -12,6 +12,7 @@ namespace FObjBase.Reflect ...@@ -12,6 +12,7 @@ namespace FObjBase.Reflect
/// </summary> /// </summary>
public class PushAttribute : Attribute public class PushAttribute : Attribute
{ {
public const string DefaultTriggerNameHeader = "Trigger_";
public Type EventArgsType; public Type EventArgsType;
public string TriggerName; public string TriggerName;
public PushAttribute(Type eventArgsType) public PushAttribute(Type eventArgsType)
...@@ -26,7 +27,7 @@ namespace FObjBase.Reflect ...@@ -26,7 +27,7 @@ namespace FObjBase.Reflect
} }
/// <summary> /// <summary>
/// 注册远程调用返回类型 /// 注册远程调用返回类型; 回调函数名称只能是 AsyncCBHandler asyncDelegate, object asyncContext
/// </summary> /// </summary>
public class CallAttribute : Attribute public class CallAttribute : Attribute
{ {
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="CallAttribute.cs" /> <Compile Include="CallAttribute.cs" />
<Compile Include="COMMON.cs" />
<Compile Include="Reflect_OBJ_INTERFACE.cs" /> <Compile Include="Reflect_OBJ_INTERFACE.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Reflect_Proxy.cs" /> <Compile Include="Reflect_Proxy.cs" />
......
...@@ -867,9 +867,9 @@ namespace FObjBase ...@@ -867,9 +867,9 @@ namespace FObjBase
obj.ConnectNotify(cc); obj.ConnectNotify(cc);
} }
} }
catch catch(Exception e)
{ {
throw e;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment