Way better handling of calling functions from CSHarp

This commit is contained in:
2018-11-16 14:46:12 +01:00
parent 62ad100aee
commit 47e2dadb8d
8 changed files with 55 additions and 15 deletions

View File

@@ -25,6 +25,8 @@ namespace Upsilon.BaseTypes.Number
public static implicit operator long(NumberLong n)
{
if (n == null)
return 0;
return n.Value;
}
}