ServiceStack.NativeTypes.TypeScript.TypeScriptGenerator.AppendComments C# (CSharp) Method

AppendComments() public method

public AppendComments ( System.Text.StringBuilderWrapper sb, string desc ) : bool
sb System.Text.StringBuilderWrapper
desc string
return bool
        public bool AppendComments(StringBuilderWrapper sb, string desc)
        {
            if (desc != null && Config.AddDescriptionAsComments)
            {
                sb.AppendLine("/**");
                sb.AppendLine("* {0}".Fmt(desc.SafeComment()));
                sb.AppendLine("*/");
            }
            return false;
        }