Table of Contents

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

Diagnostics IReadOnlyList<ProfileDiagnostic>

The validation findings.

Profile ProviderProfile

The updated profile; null when it was not updated.

Updated bool

True when the profile was updated.

Properties

Diagnostics

The validation findings.

public IReadOnlyList<ProfileDiagnostic> Diagnostics { get; init; }

Property Value

IReadOnlyList<ProfileDiagnostic>

Profile

The updated profile; null when it was not updated.

public ProviderProfile? Profile { get; init; }

Property Value

ProviderProfile

Updated

True when the profile was updated.

public bool Updated { get; init; }

Property Value

bool