Skip to content

Commit fe66cd4

Browse files
authored
feat: support add generic type custom function (#365)
* feat: support add generic type custom function * fix: not support .NET 4.5.2 * fix: indeterminate sorting of GetImplicitRolesForUser
1 parent 6be2f80 commit fe66cd4

84 files changed

Lines changed: 149 additions & 76 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Casbin.Benchmark/TestHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public static class TestHelper
66
{
77
public static string GetTestFilePath(string fileName)
88
{
9-
return Path.Combine("examples", fileName);
9+
return Path.Combine("Examples", fileName);
1010
}
1111
}
1212
}

Casbin.UnitTests/Casbin.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0;net5.0;netcoreapp3.1;net462;net461;net452</TargetFrameworks>
55
<DebugType>full</DebugType>
66
<IsPackable>false</IsPackable>
7-
<LangVersion>10.0</LangVersion>
7+
<LangVersion>latest</LangVersion>
88
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
99
</PropertyGroup>
1010

File renamed without changes.
File renamed without changes.
File renamed without changes.

Casbin.UnitTests/examples/abac_with_dynamic_value_type_model.conf renamed to Casbin.UnitTests/Examples/abac_with_dynamic_value_type_model.conf

File renamed without changes.

Casbin.UnitTests/examples/abac_with_dynamic_value_type_policy.csv renamed to Casbin.UnitTests/Examples/abac_with_dynamic_value_type_policy.csv

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)