Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
aa7d0d93
Commit
aa7d0d93
authored
May 30, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 FObjBase.Reflect [PropertyPush] 数组支持
parent
2b68df49
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
705 additions
and
418 deletions
+705
-418
COMMON.cs
Project.FLY.FObjSys/FObjBaseReflect/COMMON.cs
+309
-0
CallAttribute.cs
Project.FLY.FObjSys/FObjBaseReflect/CallAttribute.cs
+2
-1
FObjBase.Reflect.csproj
Project.FLY.FObjSys/FObjBaseReflect/FObjBase.Reflect.csproj
+1
-0
Reflect_Proxy.cs
Project.FLY.FObjSys/FObjBaseReflect/Reflect_Proxy.cs
+242
-241
Reflect_SeviceClient.cs
Project.FLY.FObjSys/FObjBaseReflect/Reflect_SeviceClient.cs
+149
-174
FObjSys.cs
Project.FLY.FObjSys/FObjSys/FObjSys.cs
+2
-2
No files found.
Project.FLY.FObjSys/FObjBaseReflect/COMMON.cs
0 → 100644
View file @
aa7d0d93
This diff is collapsed.
Click to expand it.
Project.FLY.FObjSys/FObjBaseReflect/CallAttribute.cs
View file @
aa7d0d93
...
@@ -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
{
{
...
...
Project.FLY.FObjSys/FObjBaseReflect/FObjBase.Reflect.csproj
View file @
aa7d0d93
...
@@ -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"
/>
...
...
Project.FLY.FObjSys/FObjBaseReflect/Reflect_Proxy.cs
View file @
aa7d0d93
This diff is collapsed.
Click to expand it.
Project.FLY.FObjSys/FObjBaseReflect/Reflect_SeviceClient.cs
View file @
aa7d0d93
This diff is collapsed.
Click to expand it.
Project.FLY.FObjSys/FObjSys/FObjSys.cs
View file @
aa7d0d93
...
@@ -867,9 +867,9 @@ namespace FObjBase
...
@@ -867,9 +867,9 @@ namespace FObjBase
obj
.
ConnectNotify
(
cc
);
obj
.
ConnectNotify
(
cc
);
}
}
}
}
catch
catch
(
Exception
e
)
{
{
throw
e
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment