Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@juniorgasparotto juniorgasparotto released this 19 Nov 20:39
  • Remove pre-release packages
  • Support to netstandard2.0
  • Add overload in ConsoleWrapper "App.Console.WriteWithColor()"
  • Add new parameter in "App" contructor: TextWriter output
  • Add support to use "this.App" property in command constructor because the .netcore2.0 support the API "FormatterServices.GetUninitializedObject(type)"
  • Add support to use methods "Command.GetActionMap()" and "Command.GetAction()" because the .netcore2.0 support the API "StackTrace.GetFrame"
  • Add support to improve de automatic discovery command classes because the .netcore2.0 support the API "AppDomain"
  • Add support to print object to "JSON" in "Command" class: ViewJson(model, serializeConfig)
  • Add support to print list of object like "Table" in "Command" class: ViewTable(IEnumerable list, int colWidth = 0, Action config = null)
  • Add new method to find a command by type: App.Commands.Get();
  • Add support to use Razor syntaxe in dotnetcore2.0
  • Change parameter order in method: from "Command.ViewContent(model, content)" to "Command.ViewContent(content, model)"
  • Add keyword "virtual" in methods: "Command.View", "Command.ViewT4", "Command.ViewJson", "Command.ViewTable"
  • Change default extension: from ".razor" to ".cshtml"