mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Added comments
This commit is contained in:
parent
54d0c0a533
commit
2781fb78dd
3 changed files with 3 additions and 2 deletions
|
@ -362,8 +362,7 @@ private string ParseSyntaxJson(string syntaxJsonPath)
|
|||
return null;
|
||||
}
|
||||
|
||||
// http://www.w3schools.com/xsl/xpath_syntax.asp
|
||||
// https://msdn.microsoft.com/en-us/library/ms256086(v=vs.110).aspx
|
||||
// https://www.w3schools.com/xml/xpath_syntax.asp
|
||||
private string ParseSyntaxXml(string syntaxXPath)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(syntaxXPath))
|
||||
|
|
|
@ -34,6 +34,7 @@ internal class CustomUploaderFunctionJson : CustomUploaderFunction
|
|||
|
||||
public override string Call(CustomUploaderSyntaxParser parser, string[] parameters)
|
||||
{
|
||||
// https://goessner.net/articles/JsonPath/
|
||||
string jsonPath = parameters[0];
|
||||
|
||||
if (!string.IsNullOrEmpty(jsonPath))
|
||||
|
|
|
@ -35,6 +35,7 @@ internal class CustomUploaderFunctionXml : CustomUploaderFunction
|
|||
|
||||
public override string Call(CustomUploaderSyntaxParser parser, string[] parameters)
|
||||
{
|
||||
// https://www.w3schools.com/xml/xpath_syntax.asp
|
||||
string xpath = parameters[0];
|
||||
|
||||
if (!string.IsNullOrEmpty(xpath))
|
||||
|
|
Loading…
Reference in a new issue