Class HaloApiResultContainer<T,TRawResponseContainer>
Container class that encapsulates the result from a Halo API call.
Inheritance
System.Object
HaloApiResultContainer<T,TRawResponseContainer>
Namespace: Den.Dev.Grunt.Models
Assembly: Den.Dev.Grunt.dll
Syntax
[[System.Runtime.CompilerServices.Nullable(0)]]
[[System.Runtime.CompilerServices.NullableContext(2)]]
public class HaloApiResultContainer<T,TRawResponseContainer>
Type Parameters
Name | Description |
---|---|
T | The type of result to fetch. |
TRawResponseContainer | Error container, available if an error occurred. |
Constructors
Name | Description |
---|---|
HaloApiResultContainer<T,TRawResponseContainer>(T, TRawResponseContainer) | Initializes a new instance of the HaloApiResultContainer<T,TRawResponseContainer> class. |
Properties
Name | Description |
---|---|
Response | Gets or sets the Halo API request error information. |
Result | Gets or sets the Halo API request result. |