Class UpdateProfileResult
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
Result of updating a profile.
public sealed record UpdateProfileResult : IEquatable<UpdateProfileResult>
- Inheritance
-
UpdateProfileResult
- Implements
- Inherited Members
Constructors
UpdateProfileResult(IReadOnlyList<ProfileDiagnostic>, ProviderProfile?, bool)
Result of updating a profile.
public UpdateProfileResult(IReadOnlyList<ProfileDiagnostic> Diagnostics, ProviderProfile? Profile, bool Updated)
Parameters
DiagnosticsIReadOnlyList<ProfileDiagnostic>The validation findings.
ProfileProviderProfileThe updated profile; null when it was not updated.
UpdatedboolTrue when the profile was updated.
Properties
Diagnostics
The validation findings.
public IReadOnlyList<ProfileDiagnostic> Diagnostics { get; init; }
Property Value
Profile
The updated profile; null when it was not updated.
public ProviderProfile? Profile { get; init; }
Property Value
Updated
True when the profile was updated.
public bool Updated { get; init; }