Beispiel #1
0
        public override async Task <bool> ExecuteAsync(CancellationToken cancellationToken = default)
        {
            string template_prefix = "template_", tvalue_prefix = "tvalue_";

            // @"[A-Z]{1,}[_]{1,}[A-Z]{1,}[_]{0,}[A-Z]{0,}"
            var tname_pattern = More.GetValue("tname_pattern");

            ArgumentNullException.ThrowIfNull(tname_pattern);

            var vals = new More();

            foreach (var more in More.Where(item => item.Key.StartsWith(tvalue_prefix)))
            {
                vals.Add(more.Key[tvalue_prefix.Length..], more.Value);