Example #1
0
        public string GetCow(string message, Modes mode = Modes.Default)
        {
            var builder = new StringBuilder();

            builder.Append(GenerateMessageBubble(message));
            builder.Append(GenerateCow(ModeSettings.FindMode(mode)));
            return(builder.ToString());
        }
Example #2
0
        public string GetVersion()
        {
            var builder = new StringBuilder();

            builder.AppendLine(GenerateMessageBubble($"nCowsay version {_version}"));
            builder.Append(GenerateCow(ModeSettings.FindMode(Modes.Default)));
            return(builder.ToString());
        }