EnvironmentResolutionResult
- Namespace:
PPDS.Auth.Discovery - Assembly:
PPDS.Auth - Kind: Class
Summary
Result of an environment resolution attempt.
Members
Methods
Failed
EnvironmentResolutionResult Failed(string errorMessage)
Creates a failed result.
Succeeded
EnvironmentResolutionResult Succeeded(EnvironmentInfo environment, ResolutionMethod method)
Creates a successful result.
Properties
Environment
EnvironmentInfo Environment { get; set; }
Gets the resolved environment info (null if failed).
ErrorMessage
string ErrorMessage { get; set; }
Gets the error message (null if successful).
Method
ResolutionMethod Method { get; set; }
Gets the method used to resolve the environment.
Success
bool Success { get; set; }
Gets whether the resolution was successful.