Bugfix in BBB
This commit is contained in:
parent
7d679649e4
commit
6e7acdbdba
@ -399,41 +399,41 @@ public class BotBaseBuilder : IAPIKeySelectionStage, IMessageLoopSelectionStage,
|
|||||||
#region "Step 7 (Language)"
|
#region "Step 7 (Language)"
|
||||||
|
|
||||||
/// <inheritdoc cref="ILanguageSelectionStage.DefaultLanguage"/>
|
/// <inheritdoc cref="ILanguageSelectionStage.DefaultLanguage"/>
|
||||||
public IBuildingStage DefaultLanguage()
|
public IThreadingStage DefaultLanguage()
|
||||||
{
|
{
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ILanguageSelectionStage.UseEnglish"/>
|
/// <inheritdoc cref="ILanguageSelectionStage.UseEnglish"/>
|
||||||
public IBuildingStage UseEnglish()
|
public IThreadingStage UseEnglish()
|
||||||
{
|
{
|
||||||
Default.Language = new English();
|
Default.Language = new English();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ILanguageSelectionStage.UseGerman"/>
|
/// <inheritdoc cref="ILanguageSelectionStage.UseGerman"/>
|
||||||
public IBuildingStage UseGerman()
|
public IThreadingStage UseGerman()
|
||||||
{
|
{
|
||||||
Default.Language = new German();
|
Default.Language = new German();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ILanguageSelectionStage.UsePersian"/>
|
/// <inheritdoc cref="ILanguageSelectionStage.UsePersian"/>
|
||||||
public IBuildingStage UsePersian()
|
public IThreadingStage UsePersian()
|
||||||
{
|
{
|
||||||
Default.Language = new Persian();
|
Default.Language = new Persian();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ILanguageSelectionStage.UseRussian"/>
|
/// <inheritdoc cref="ILanguageSelectionStage.UseRussian"/>
|
||||||
public IBuildingStage UseRussian()
|
public IThreadingStage UseRussian()
|
||||||
{
|
{
|
||||||
Default.Language = new Russian();
|
Default.Language = new Russian();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc cref="ILanguageSelectionStage.Custom"/>
|
/// <inheritdoc cref="ILanguageSelectionStage.Custom"/>
|
||||||
public IBuildingStage Custom(Localization language)
|
public IThreadingStage Custom(Localization language)
|
||||||
{
|
{
|
||||||
Default.Language = language;
|
Default.Language = language;
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
@ -11,35 +11,35 @@ public interface ILanguageSelectionStage
|
|||||||
/// Selects the default language for control usage. (English)
|
/// Selects the default language for control usage. (English)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The next stage in the building process.</returns>
|
/// <returns>The next stage in the building process.</returns>
|
||||||
IBuildingStage DefaultLanguage();
|
IThreadingStage DefaultLanguage();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Selects english as the default language for control labels.
|
/// Selects english as the default language for control labels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The next stage in the building process.</returns>
|
/// <returns>The next stage in the building process.</returns>
|
||||||
IBuildingStage UseEnglish();
|
IThreadingStage UseEnglish();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Selects german as the default language for control labels.
|
/// Selects german as the default language for control labels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The next stage in the building process.</returns>
|
/// <returns>The next stage in the building process.</returns>
|
||||||
IBuildingStage UseGerman();
|
IThreadingStage UseGerman();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Selects persian as the default language for control labels.
|
/// Selects persian as the default language for control labels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The next stage in the building process.</returns>
|
/// <returns>The next stage in the building process.</returns>
|
||||||
IBuildingStage UsePersian();
|
IThreadingStage UsePersian();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Selects russian as the default language for control labels.
|
/// Selects russian as the default language for control labels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The next stage in the building process.</returns>
|
/// <returns>The next stage in the building process.</returns>
|
||||||
IBuildingStage UseRussian();
|
IThreadingStage UseRussian();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Selects a custom language as the default language for control labels.
|
/// Selects a custom language as the default language for control labels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The next stage in the building process.</returns>
|
/// <returns>The next stage in the building process.</returns>
|
||||||
IBuildingStage Custom(Localization language);
|
IThreadingStage Custom(Localization language);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user