示例#1
0
 /// <summary>This method does [Create]</summary>
 /// <param name="syntaxNode">[syntaxNode] of type [Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax]</param>
 /// <returns>[IBabyDocDocumentationProvider]</returns>
 public static IBabyDocDocumentationProvider Create(PropertyDeclarationSyntax syntaxNode)
 {
     return(new BabyDocDocumentationProvider(
                new ActualProvider(syntaxNode),
                BabyDocBasicSymbolNameDocumentationProvider.Create(),
                BabyDocParameterTextDocumentationProvider.Create()));
 }
 /// <summary>This method does [Create]</summary>
 /// <param name="syntaxNode">[syntaxNode] of type [Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax]</param>
 /// <returns>[IBabyDocDocumentationProvider]</returns>
 public static IBabyDocDocumentationProvider Create(ConstructorDeclarationSyntax syntaxNode)
 {
     return(new BabyDocDocumentationProvider(
                new ActualProvider(syntaxNode),
                BabyDocParameterTextDocumentationProvider.Create()));
 }