We Moved - This Forum is now Read-Only

Our new community is now available at https://support.submain.com/community/. We will leave historical discussions here in this forum view-only mode for search purposes, but moving forward, please post your questions in the appropriate category in the new community.

 
  SubMain - CodeIt.Right The First Time!

/Community

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

How to detect if the property has the custom attributes

Last post 02-20-2012, 11:06 AM by Serge B. (SubMain). 1 replies.
Sort Posts: Previous Next
  •  01-25-2012, 2:17 AM 1961

    How to detect if the property has the custom attributes

    Hi,

    I would like to decorate my comments with Mandatory text if the property is marked as like

       [DataMember(IsRequired = true, Order = 1)]        
       public String ProductId { getset; }
     
    Any idea how this can be achieved?	
    Filed under: ,
  •  02-20-2012, 11:06 AM 1978 in reply to 1961

    Re: How to detect if the property has the custom attributes

    This cannot be done at this time - GhostDoc is not aware of the attributes.

    We are completely replacing parsing engine in the upcoming v4 and can add this in GhostDoc Pro (no t the free version due to the rules configuration limitation in it) if there is enough interest.

    Thanks!

     


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft MVP  |  ASP Insider
    » » CodeIt.Right Will Fix Your Code!™ - 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 |