Make the various types of response implement a common interface
I have some code on providing AUCost data. I need to write it twice for StoredProcedureResponse and ResourceResponse, because they don't implement a common interface, at least in the .NET Core SDK.
In Version 3 of the .NET SDK, CosmosStoredProcedureResponse now inherits from CosmosResponse, which includes a common set of properties, including RequestCharge (RU).
To learn more see, CosmosStoredProcedureResponse: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.cosmosstoredprocedureresponse?view=azure-dotnet-preview