public Task <IlmGetStatusResponse> GetStatusAsync(Action <IlmGetStatusRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new IlmGetStatusRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <IlmGetStatusRequestDescriptor, IlmGetStatusResponse>(descriptor)); }
public IlmGetStatusResponse GetStatus(Action <IlmGetStatusRequestDescriptor> configureRequest = null) { var descriptor = new IlmGetStatusRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <IlmGetStatusRequestDescriptor, IlmGetStatusResponse>(descriptor)); }