Пример #1
0
        static string Describe([NotNull] ISignaturePart part)
        {
            var sb      = new StringBuilder();
            var visitor = new PlainDescriber(sb);

            part.Accept(visitor);
            return(sb.ToString());
        }
Пример #2
0
        static string Describe([NotNull] Constraint constraint)
        {
            var sb      = new StringBuilder();
            var visitor = new PlainDescriber(sb);

            constraint.Accept(visitor);
            return(sb.ToString());
        }
Пример #3
0
        public static string Describe([NotNull] ISignature signature)
        {
            var sb      = new StringBuilder();
            var visitor = new PlainDescriber(sb);

            visitor.VisitWithDelimiter(signature.Parts, " ");
            return(sb.ToString());
        }