1 страниц (4 вхождений)
Tutorials about how to create a plug-in - C#, VB.NET, Visual Basic, Visual Studio - Сообщения
#1 Опубликовано: 23.12.2016 14:51:48
Hello developers,
I have updated the guides about how to create a plug-in in SMath Studio to be compatible with the latest APIs.
Please report any issue so we can keep them updated
a copy of both the tutorials and the code of the plug-ins is available in our SVN.
I have updated the guides about how to create a plug-in in SMath Studio to be compatible with the latest APIs.
Please report any issue so we can keep them updated

- C#
][pdf] (not updated) download either from extension page or Extensions Manager (Tools > Plugins... > Handbooks > Online Gallery)
[sm] Writing your first plug-in for SMath Studio Desktop in C# [rev.3].sm (909 КиБ) скачан 79 раз(а). - VB.NET
[pdf] (not updated) download either from extension page or Extensions Manager (Tools > Plugins... > Handbooks > Online Gallery)
[sm] Writing your first plug-in for SMath Studio Desktop in VB.NET [rev.3].sm (1 МиБ) скачан 73 раз(а).
a copy of both the tutorials and the code of the plug-ins is available in our SVN.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
4 пользователям понравился этот пост
Вячеслав Мезенцев 23.12.2016 15:53:00, NDTM Amarasekera 23.12.2016 21:35:00, frapuano 24.12.2016 06:22:00, Alexander O. Melnik 28.12.2016 10:12:00
#2 Опубликовано: 12.01.2018 13:10:56
Davide,
Some minor issues for the vb.net walkthrough; your tutorial was directing us to look for TryEvaluateExpression(value As Entry, context as store, result as entry) as boolean, but I was coming up with (4) parameters instead of just the (3) you indicated, in addition to a different function name:
For the purposes of the tutorial, looks like the term 'root as term' replaces the variable 'value as entry'. Nothing serious, but it a curve ball never the less.
Thank you for the walkthrough, good resource; gave a great starting point and provided me with a few insights of Visual Studio I was not aware of.
-Kenny
Some minor issues for the vb.net walkthrough; your tutorial was directing us to look for TryEvaluateExpression(value As Entry, context as store, result as entry) as boolean, but I was coming up with (4) parameters instead of just the (3) you indicated, in addition to a different function name:
Public Function ExpressionEvaluation(root As Term, args As Term()(), ByRef context As Store, ByRef result() As Term) As Boolean Implements IPluginLowLevelEvaluation.ExpressionEvaluation
'Throw New NotImplementedException()
End Function
For the purposes of the tutorial, looks like the term 'root as term' replaces the variable 'value as entry'. Nothing serious, but it a curve ball never the less.
Thank you for the walkthrough, good resource; gave a great starting point and provided me with a few insights of Visual Studio I was not aware of.
-Kenny
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#3 Опубликовано: 12.01.2018 22:06:10
Hello Kenny,
Glad that you liked it, I've started from this tutorial too (the very first version made by Andrey several years ago)
this is because you have implemented another interface, IPluginLowLevelEvaluation instead of IPluginLowLevelEvaluationFast; I've documented the latter only because that's the most new, the one you found one day probably will be removed.
However there were some other changes in the APIs (SessionProfile), so here we have the updated tutorials
TUTORIALS UPDATED
- API changes;
- msbuild fast deploy (thanks to Martin Kraska for the idea);
- minor fixes;
Glad that you liked it, I've started from this tutorial too (the very first version made by Andrey several years ago)

Wrotebut I was coming up with (4) parameters instead of just the (3) you indicated, in addition to a different function name
this is because you have implemented another interface, IPluginLowLevelEvaluation instead of IPluginLowLevelEvaluationFast; I've documented the latter only because that's the most new, the one you found one day probably will be removed.
However there were some other changes in the APIs (SessionProfile), so here we have the updated tutorials

TUTORIALS UPDATED
- API changes;
- msbuild fast deploy (thanks to Martin Kraska for the idea);
- minor fixes;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 08.08.2024 19:14:03
UPDATED
- API changes;
- API changes;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
⚜ Kenny Lemens, P.E. ᵂᴵ 08.08.2024 20:57:00
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений