GCCHigh.Extensions.Graph contains Graph extension methods for C# specifically targeted to the GCCHigh M365 environment. GCCHigh.Extensions supports all versions of.NET from 4.6.2 through 8.0.
The following classes have been extended:
- Extensions.Graph (added)
- Microsoft.Graph.Models.ListItem (extended)
with these methods:
Exception proof method for returning a boolean field from JSON.
Exception proof method for returning a string field from JSON.
Calculates the number of bytes contained within a Drive and returns the value as a double.
Gets the Microsoft.Graph.Models.DriveItem object for the given ids. If the boolean switch getFile is set to true, it will instead return the underlying binary file as a byte array.
Gets all the child DriveItem objects of either the Drive or the User. If the boolean switch getFile is set to true, it will instead return the underlying binary file as a byte array.