Skip to main content

Class VersionValidationResponse

Represents the result of a version compatibility validation operation.

Namespace: Workspace.XBR.Xperiflow.VersionManagement

Assembly: Xperiflow.dll

Declaration
public class VersionValidationResponse

Examples

Creating validation responses:

// Success response
var successResponse = new VersionValidationResponse(true, "All dependencies are compatible.");

// Failure response
var failureResponse = new VersionValidationResponse(false, "Component version 1.0.0 is incompatible with required version 2.0.0.");

// Check the result
if (response.IsCompatible)
{
Console.WriteLine("Validation passed!");
}
else
`{
Console.WriteLine($"Validation failed: {response.CompatibilityDetail}`");
}

Remarks

The Workspace.XBR.Xperiflow.VersionManagement.VersionValidationResponse class encapsulates the outcome of dependency validation operations, providing both the success/failure status and detailed information about the validation result.

Usage Pattern:

This class is typically returned by version management operations to indicate whether dependencies are compatible and to provide context about the validation process.

Properties

IsCompatible

Gets or sets a value indicating whether the validation was successful and all dependencies are compatible.

Declaration
public bool IsCompatible { get; set; }
Remarks

This property provides a simple boolean indicator of validation success. When true, all dependencies have passed validation and are compatible with the system requirements. When false, at least one dependency has failed validation.

CompatibilityDetail

Gets or sets detailed information about the compatibility validation result.

Declaration
public string CompatibilityDetail { get; set; }
Remarks

This property provides human-readable details about the validation outcome:

Inherited Members

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?