Enable C# functions in code & fill out missing functionality (#2084)

C# HTTP functions won’t take effect by default so it is safe to enable them in code. Also implement required authentication code.
This commit is contained in:
George Pollard
2022-06-30 13:33:12 +12:00
committed by GitHub
parent 1c679e48fe
commit ea60410df9
14 changed files with 469 additions and 52 deletions

View File

@ -334,6 +334,9 @@ namespace Tests {
public static Arbitrary<PoolName> PoolName { get; } = OrmGenerators.PoolNameGen.ToArbitrary();
public static Arbitrary<IReadOnlyList<T>> ReadOnlyList<T>()
=> Arb.Default.List<T>().Convert(x => (IReadOnlyList<T>)x, x => (List<T>)x);
public static Arbitrary<Version> Version() {
return Arb.From(OrmGenerators.Version());
}