mrpmorris/Morris.Moxy

IndexOutOfBoundsException when attribute parameter is optional

Closed this issue · 0 comments

@moxy
@attribute optional Type Target
@moxy

namespace {{ moxy.Class.Namespace }}
{
    partial class {{ moxy.Class.Name }}
    {
      public string GetTargetName() => {{ Target }}.Name;
    }
}