implement OMS@get Runtime Version system attribute routine method
This commit is contained in:
parent
22d5e4afa3
commit
fd624152ba
@ -1 +1 @@
|
|||||||
Subproject commit fe6562e020e9e4af79dd0659b7ffb56209088181
|
Subproject commit be11f42a37a0845286dc522c47d802ac2977a7ee
|
||||||
@ -63,6 +63,14 @@ public abstract class Oms
|
|||||||
public void Initialize()
|
public void Initialize()
|
||||||
{
|
{
|
||||||
InitializeInternal();
|
InitializeInternal();
|
||||||
|
|
||||||
|
if (TryGetInstance(KnownInstanceGuids.SystemAttributeRoutines.GetRuntimeVersion, out InstanceHandle h_RuntimeVersion))
|
||||||
|
{
|
||||||
|
RegisterSystemRoutine(h_RuntimeVersion, new SystemAttributeRoutine<string>(h_RuntimeVersion, delegate (Oms oms, OmsContext context)
|
||||||
|
{
|
||||||
|
return RuntimeVersion.ToString();
|
||||||
|
}));
|
||||||
|
}
|
||||||
DebugOms = this;
|
DebugOms = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user