forced lang version to 10 (as ryo requested)

all libs are now packed into directory
jenkins file is back
some directives to get net48 supported too
This commit is contained in:
zznty
2022-03-16 20:34:01 +07:00
parent cf5c00ce0e
commit 15be85b4f5
31 changed files with 324 additions and 251 deletions

View File

@@ -40,7 +40,13 @@ namespace Torch.Server.Managers
protected abstract EntityControlViewModel Create(EntityViewModel evm);
#if NETFRAMEWORK
[ReflectedGetter(Name = "Keys")]
private static readonly Func<ConditionalWeakTable<EntityViewModel, EntityControlViewModel>, ICollection<EntityViewModel>> WeakTableKeys = null!;
internal IEnumerable<EntityViewModel> Keys => WeakTableKeys(_models);
#else
internal IEnumerable<EntityViewModel> Keys => _models.Select(b => b.Key);
#endif
internal EntityControlViewModel GetOrCreate(EntityViewModel evm)
{