protected override async Task OnTemplatesAvailableAsync() { TemplateSelection.LoadData(TemplateType, ConfigFramework, ConfigPlatform); WizardStatus.IsLoading = false; var result = BreakingChangesValidatorService.Validate(); if (!result.IsValid) { var messages = result.ErrorMessages.Select(e => new BreakingChangeMessageViewModel(e)); BreakingChangesErrors.AddRange(messages); OnPropertyChanged(nameof(BreakingChangesErrors)); await Task.CompletedTask; } }
public override async Task OnTemplatesAvailableAsync() { ValidationService.Initialize(GetNames, null); TemplateSelection.LoadData(TemplateType, ConfigPlatform, ConfigProjectType, ConfigFramework); WizardStatus.IsLoading = false; var result = BreakingChangesValidatorService.Validate(); if (!result.IsValid) { var messages = result.ErrorMessages.Select(e => new BreakingChangeMessageViewModel(e)); BreakingChangesErrors.AddRange(messages); OnPropertyChanged(nameof(BreakingChangesErrors)); await Task.CompletedTask; } ValidateProjectPaths(); }