Difference between revisions of "Talk:Transient Attributes"

Line 1: Line 1:
 
--[[User:Alexander Kogtenkov|Alexander Kogtenkov]] 15:28, 30 June 2009 (UTC) What happens when the attribute is inherited? It is still possible to inherit the volatile attribute in an expanded class. Or does the volatile property work only in the class it is declared, i.e. the property of being volatile is not inherited?
 
--[[User:Alexander Kogtenkov|Alexander Kogtenkov]] 15:28, 30 June 2009 (UTC) What happens when the attribute is inherited? It is still possible to inherit the volatile attribute in an expanded class. Or does the volatile property work only in the class it is declared, i.e. the property of being volatile is not inherited?
 
:'''--[[User:Manus|manus]] 15:06, 1 July 2009 (UTC)''' The validity rules are applied for inherited attributes as well, and the volatile property is inherited. In order to not inherit it, you have to redefine the attribute.
 
:'''--[[User:Manus|manus]] 15:06, 1 July 2009 (UTC)''' The validity rules are applied for inherited attributes as well, and the volatile property is inherited. In order to not inherit it, you have to redefine the attribute.
 +
--[[User:Clemahieu|Clemahieu]] 16:07, 1 July 2009 (UTC)
 +
What are the semantics around a note clause under an attribute?  This looks like a weaker form of C# attributes, is this intended to be a one-off things for serialization?

Revision as of 08:07, 1 July 2009

--Alexander Kogtenkov 15:28, 30 June 2009 (UTC) What happens when the attribute is inherited? It is still possible to inherit the volatile attribute in an expanded class. Or does the volatile property work only in the class it is declared, i.e. the property of being volatile is not inherited?

--manus 15:06, 1 July 2009 (UTC) The validity rules are applied for inherited attributes as well, and the volatile property is inherited. In order to not inherit it, you have to redefine the attribute.

--Clemahieu 16:07, 1 July 2009 (UTC) What are the semantics around a note clause under an attribute? This looks like a weaker form of C# attributes, is this intended to be a one-off things for serialization?