improvements

This commit is contained in:
AJ Hoffer 2020-02-21 16:49:16 -05:00
parent aafd06b07f
commit 52344b1b5a
2 changed files with 2 additions and 2 deletions

View file

@ -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)}");

View file

@ -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;
} }