Fixed spelling

This commit is contained in:
Thorsten Sommer 2024-12-28 14:21:12 +01:00
parent 0eda014e80
commit ff8eb071b9
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
15 changed files with 16 additions and 16 deletions

View File

@ -106,7 +106,7 @@ public partial class AssistantAgenda : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputContent = string.Empty;
this.contentLines.Clear();

View File

@ -58,7 +58,7 @@ public abstract partial class AssistantBase : ComponentBase, IMessageBusReceiver
_ => string.Empty,
};
protected abstract void ResetFrom();
protected abstract void ResetForm();
protected abstract bool MightPreselectValues();
@ -341,7 +341,7 @@ public abstract partial class AssistantBase : ComponentBase, IMessageBusReceiver
await this.JsRuntime.ClearDiv(RESULT_DIV_ID);
await this.JsRuntime.ClearDiv(AFTER_RESULT_DIV_ID);
this.ResetFrom();
this.ResetForm();
this.providerSettings = this.SettingsManager.GetPreselectedProvider(this.Component);
this.inputIsValid = false;

View File

@ -50,7 +50,7 @@ public partial class BiasOfTheDayAssistant : AssistantBaseCore
protected override bool ShowReset => false;
protected override void ResetFrom()
protected override void ResetForm()
{
if (!this.MightPreselectValues())
{

View File

@ -32,7 +32,7 @@ public partial class AssistantCoding : AssistantBaseCore
protected override Func<Task> SubmitAction => this.GetSupport;
protected override void ResetFrom()
protected override void ResetForm()
{
this.codingContexts.Clear();
this.compilerMessages = string.Empty;

View File

@ -33,7 +33,7 @@ public partial class AssistantEMail : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputBulletPoints = string.Empty;
this.bulletPointsLines.Clear();

View File

@ -44,7 +44,7 @@ public partial class AssistantERI : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
if (!this.MightPreselectValues())
{

View File

@ -48,7 +48,7 @@ public partial class AssistantGrammarSpelling : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputText = string.Empty;
this.correctedText = string.Empty;

View File

@ -33,7 +33,7 @@ public partial class AssistantIconFinder : AssistantBaseCore
protected override Func<Task> SubmitAction => this.FindIcon;
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputContext = string.Empty;
if (!this.MightPreselectValues())

View File

@ -59,7 +59,7 @@ public partial class AssistantJobPostings : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputEntryDate = string.Empty;
this.inputValidUntil = string.Empty;

View File

@ -37,7 +37,7 @@ public partial class AssistantLegalCheck : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputLegalDocument = string.Empty;
this.inputQuestions = string.Empty;

View File

@ -41,7 +41,7 @@ public partial class AssistantMyTasks : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputText = string.Empty;
if (!this.MightPreselectValues())

View File

@ -49,7 +49,7 @@ public partial class AssistantRewriteImprove : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputText = string.Empty;
this.rewrittenText = string.Empty;

View File

@ -60,7 +60,7 @@ public partial class AssistantSynonyms : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputText = string.Empty;
this.inputContext = string.Empty;

View File

@ -40,7 +40,7 @@ public partial class AssistantTextSummarizer : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputText = string.Empty;
if(!this.MightPreselectValues())

View File

@ -36,7 +36,7 @@ public partial class AssistantTranslation : AssistantBaseCore
SystemPrompt = SystemPrompts.DEFAULT,
};
protected override void ResetFrom()
protected override void ResetForm()
{
this.inputText = string.Empty;
this.inputTextLastTranslation = string.Empty;