Referring to a generic type of a generic type in C# XML documentation?

后端 未结 5 1589
情歌与酒
情歌与酒 2021-02-06 21:31

Writing some XML documentation for a predicate helper class. But I can\'t figure out I can refer to an Expression> without getting a synta

5条回答
  •  面向向阳花
    2021-02-06 22:21

    I'm running into this now, as I have a function that returns a List>. Yeah, it's ugly, but I didn't write it. Standard disclaimer, I know.

    Anyway, in VS 2017 with R# Ultimate 2017.1, this doc comment...

     of split frames
    

    ...gives me a syntax error. However, this...

    List{List{byte}} of split frames

    ...does not. Eeeenteresting.

    Still ugly? Yes.

    As ugly? I think it's less horrible than using < and > myself....

提交回复
热议问题