This is a .NET behavior. By convention, the names of all classes that inherit from the Attribute class use the suffix "Attribute". But when using an Attribute, the suffix is optional. I.e. The following two line are considered identical by the compiler:
[Browser(BrowserType.IE)] [BrowserAttribute(BrowserType.IE)] On Sat, Nov 20, 2010 at 6:29 PM, tk <[email protected]> wrote: > Hi > > What i am about to ask is a rookie question but if you can take time > to answer it would be great > > I am going through the watin sample. > > Could you please give me more info on BrowserAttribute. > > When i try to find the definition of "Browser" in > [Browser(BrowserType.IE)] it goes to BrowserAttribute. How are they > linked. > > What does DecorateMethodTest do? > > thanks > > -- > You received this message because you are subscribed to the Google Groups > "MbUnit.User" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<mbunituser%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/mbunituser?hl=en. > > -- You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mbunituser?hl=en.
