Skip to content

Commit

Permalink
fix: Unable find SetEnforceCache method in .NET45
Browse files Browse the repository at this point in the history
Signed-off-by: Sagilio <Sagilio@outlook.com>
  • Loading branch information
sagilio committed Apr 3, 2021
1 parent 24b556d commit d9b0df0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions NetCasbin/CoreEnforcer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ public void SetEffector(IEffector effector)
_effector = effector;
}

#if !NET45
/// <summary>
/// Sets an enforce cache.
/// </summary>
Expand All @@ -190,7 +189,6 @@ public void SetEnforceCache(IEnforceCache enforceCache)
{
EnforceCache = enforceCache;
}
#endif

/// <summary>
/// Clears all policy.
Expand Down

0 comments on commit d9b0df0

Please sign in to comment.