Beispiel #1
0
        static string Describe([NotNull] ISignaturePart part)
        {
            var sb      = new StringBuilder();
            var visitor = new PlainDescriber(sb);

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

            constraint.Accept(visitor);
            return(sb.ToString());
        }
Beispiel #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());
        }