SubMain - CodeIt.Right The First Time!

/Community

A Support Community for SubMain Products
 Home Products Services Download Purchase Support
in Search
 
Home Forums Blogs Tutorials Downloads
Welcome to SubMain Community Sign in | Join | Help

Method <returns> Template

Last post 10-20-2009, 10:11 PM by Serge B.. 1 replies.
Sort Posts: Previous Next
  •  10-19-2009, 12:46 PM 959

    Method <returns> Template

    I'm trying to specify a <returns> template for an asynchronous method. I've created a custom rule that matches "return type equals System.IAsyncResult" and "method name starts with 'Begin.'" I'm able to specify a return template, but I'd like to use the default <summary> template. However, if I don't specify a <summary> template explicitly, the summary tag remains empty.

    Is there a way to either a) explicitly specify using the "default" summary template or b) use a return template without having to specify a summary template? 

  •  10-20-2009, 10:11 PM 960 in reply to 959

    Re: Method <returns> Template

    Hi Ambrus,

    To help us better understand what you are trying to achieve would you please illustrate your question with a code sample?

    Also, it might help if you provide us with a copy of your config file.

    Thanks!

     


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft VB MVP  |  http://vbcity.com - VB Developer Community
    » » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |