-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Session will now remember the last active script across between app l…
…ifetimes
- Loading branch information
1 parent
068f327
commit 4f8f200
Showing
3 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using NetPad.Data; | ||
|
||
namespace NetPad.Tests.Services; | ||
|
||
public class NullTrivialDataStore : ITrivialDataStore | ||
{ | ||
public TValue? Get<TValue>(string key) where TValue : class | ||
{ | ||
return null; | ||
} | ||
|
||
public void Set<TValue>(string key, TValue value) | ||
{ | ||
} | ||
|
||
public bool Contains(string key) | ||
{ | ||
return false; | ||
} | ||
} |