mirror of
https://github.com/tonytins/Lorem.NET.git
synced 2025-03-15 04:32:23 +00:00
improvements
This commit is contained in:
parent
aafd06b07f
commit
52344b1b5a
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ namespace Examples
|
||||||
|
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
Console.WriteLine("Change the source...");
|
Console.WriteLine("Change the source...");
|
||||||
LoremNET.Source.UpdateSource("Alright stop collaborate and listen ice is back with my brand new invention something grabs a hold of me tightly flow like a harpoon daily and nightly will it ever stop yo I don't know turn off the lights and I'll glow");
|
LoremNET.Source.Update("Alright stop collaborate and listen ice is back with my brand new invention something grabs a hold of me tightly flow like a harpoon daily and nightly will it ever stop yo I don't know turn off the lights and I'll glow");
|
||||||
|
|
||||||
Console.WriteLine($"Sentence: {LoremNET.Generate.Sentence(5, 25)}");
|
Console.WriteLine($"Sentence: {LoremNET.Generate.Sentence(5, 25)}");
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ namespace LoremNET
|
||||||
return includePuncation ? Rearrange(Text) : Rearrange(Text.Remove(","));
|
return includePuncation ? Rearrange(Text) : Rearrange(Text.Remove(","));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void UpdateSource(string text)
|
public static void Update(string text)
|
||||||
{
|
{
|
||||||
Text = text;
|
Text = text;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue