Skip to content

Commit

Permalink
feat: Add TrySetValue API in request values
Browse files Browse the repository at this point in the history
Signed-off-by: sagilio <sagilio@outlook.com>
  • Loading branch information
sagilio committed Jul 30, 2022
1 parent a9fb8c1 commit 15b28ee
Show file tree
Hide file tree
Showing 2 changed files with 360 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Casbin/Abstractions/Model/IRequestValues.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ public interface IRequestValues
public string this[int index] { get; }

public int Count { get; }

public bool TrySetValue<T>(int index, T value);
}
Loading

0 comments on commit 15b28ee

Please sign in to comment.