File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
DurableStateMachines.Tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public interface IDurableOrderedSetGrain : IGrainWithStringKey
1414 Task Clear ( ) ;
1515 Task < List < string > > GetAll ( ) ;
1616 Task < string [ ] > GetOrderedItemsAsArray ( ) ;
17- Task < ( bool Found , string ? ActualValue ) > TryGetValue ( string value ) ;
17+ Task < TryValue < string > > TryGetValue ( string value ) ;
1818 Task < string [ ] > CopyToArray ( int arraySize , int arrayIndex ) ;
1919 }
2020
@@ -58,10 +58,10 @@ public async Task Clear()
5858 public Task < List < string > > GetAll ( ) => Task . FromResult ( state . ToList ( ) ) ;
5959 public Task < string [ ] > GetOrderedItemsAsArray ( ) => Task . FromResult ( state . OrderedItems . ToArray ( ) ) ;
6060
61- public Task < ( bool Found , string ? ActualValue ) > TryGetValue ( string value )
61+ public Task < TryValue < string > > TryGetValue ( string value )
6262 {
6363 var found = state . TryGetValue ( value , out var actualValue ) ;
64- return Task . FromResult ( ( found , actualValue ) ) ;
64+ return Task . FromResult < TryValue < string > > ( new ( found , actualValue ) ) ;
6565 }
6666
6767 public Task < string [ ] > CopyToArray ( int arraySize , int arrayIndex )
You can’t perform that action at this time.
0 commit comments