Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DocIdFormatter.cs « Formatters « Updater « Mono.Documentation « mdoc - github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7169ab93dc1ac8c0d7d088b4249336676d721a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

using Mono.Cecil;
using Mono.Cecil.Rocks;

namespace Mono.Documentation.Updater
{
    class DocIdFormatter : MemberFormatter
    {
        public override string Language
        {
            get { return "DocId"; }
        }

        public override string GetDeclaration (TypeReference tref)
        {
            return DocCommentId.GetDocCommentId (tref.Resolve ());
        }
        public override string GetDeclaration (MemberReference mreference)
        {
            return DocCommentId.GetDocCommentId (mreference.Resolve ());
        }
    }
}