Пример #1
0
        private static string GetDelegateDeclaration(IEnumerable <string> keywords, string parameter, string type, IEnumerable <string> parameters)
        {
            var builder = new StringBuilder();

            builder.AppendKeywords(keywords);
            builder.Append(parameter).Space();
            builder.Append(type);
            builder.AppendValues("(", ")", parameters);
            return(builder.ToString());
        }