Open ThomasNieto opened 1 year ago
I would like InvokeDscResourceTestResult to have an implicit cast operator to bool so that I can use the result in if statements and other places bool is useful.
InvokeDscResourceTestResult
bool
if
public static implicit operator bool(InvokeDscResourceTestResult result) => result.InDesiredState;
Summary of the new feature / enhancement
I would like
InvokeDscResourceTestResult
to have an implicit cast operator tobool
so that I can use the result inif
statements and other placesbool
is useful.Proposed technical implementation details (optional)