GCCHigh.Extensions.State contains State extension methods for C# specifically targeted to the GCCHigh M365 environment, to make managing state saving and loading a breeze.. GCCHigh.Extensions supports all versions of.NET from 4.6.2 through 8.0.
$ dotnet add package GCCHigh.Extensions.StateThe following classes have been extended:
- GCCHigh.Extensions.State
with these methods:
A delegate method for loading state.
A delegate method for saving state.
The basic method to load a list from disk. It only requires one
parameter which is the name of the list to load.
Save a given list state to disk.
Method to load a very large list of Graph ListItems from disk. It
requires all three parameters in order to load the list. In order
to minimize RAM usage, the list is loaded directly to the eventual
target container list thus eliminating in-memory duplication of
the large list.
Save a given referenced list state to disk.